google-apis-apphub_v1alpha 0.17.0 → 0.19.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 +10 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/apphub_v1alpha/classes.rb +256 -2
- data/lib/google/apis/apphub_v1alpha/gem_version.rb +3 -3
- data/lib/google/apis/apphub_v1alpha/representations.rb +127 -0
- data/lib/google/apis/apphub_v1alpha/service.rb +177 -12
- data/lib/google/apis/apphub_v1alpha.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 530cfd177d35d348aa7ebf7a7c7f755c4c3bd06cb6b93e4c591344d4a0895306
|
|
4
|
+
data.tar.gz: aacc9e116dbd870c825b323b8757f52c1fe8e3d525b3ca0e0f59fe8d48b0b450
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 35a0d6a7c327d6d27b2e7889e459583ce53016119faa1ef58d0ae024246172d0468c135c53fbeddbda7cc09bcfa42a245052425a2e194eb3ee156cb353449114
|
|
7
|
+
data.tar.gz: e2953af5d167f5739ca36d97e3f15f045014bcba57f59912643098be9523ba84f17b7b6ff5afd0253d7520bbe1492add56a5d47f6fa501b48e9f08f6665180d3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,15 @@
|
|
|
1
1
|
# Release history for google-apis-apphub_v1alpha
|
|
2
2
|
|
|
3
|
+
### v0.19.0 (2026-10-28)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20261019
|
|
6
|
+
* Regenerated using generator version 0.19.1
|
|
7
|
+
|
|
8
|
+
### v0.18.0 (2026-06-14)
|
|
9
|
+
|
|
10
|
+
* Regenerated from discovery document revision 20260520
|
|
11
|
+
* Regenerated using generator version 0.19.0
|
|
12
|
+
|
|
3
13
|
### v0.17.0 (2025-11-02)
|
|
4
14
|
|
|
5
15
|
* Regenerated from discovery document revision 20251028
|
data/OVERVIEW.md
CHANGED
|
@@ -83,7 +83,7 @@ The [product documentation](https://cloud.google.com/app-hub/docs/) may provide
|
|
|
83
83
|
|
|
84
84
|
## Supported Ruby versions
|
|
85
85
|
|
|
86
|
-
This library is supported on Ruby 3.
|
|
86
|
+
This library is supported on Ruby 3.2+.
|
|
87
87
|
|
|
88
88
|
Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
|
|
89
89
|
|
|
@@ -28,6 +28,16 @@ module Google
|
|
|
28
28
|
class Application
|
|
29
29
|
include Google::Apis::Core::Hashable
|
|
30
30
|
|
|
31
|
+
# Additional system properties of an Application.
|
|
32
|
+
# Corresponds to the JSON property `applicationProperties`
|
|
33
|
+
# @return [Google::Apis::ApphubV1alpha::ApplicationProperties]
|
|
34
|
+
attr_accessor :application_properties
|
|
35
|
+
|
|
36
|
+
# Application type.
|
|
37
|
+
# Corresponds to the JSON property `applicationType`
|
|
38
|
+
# @return [Google::Apis::ApphubV1alpha::ApplicationType]
|
|
39
|
+
attr_accessor :application_type
|
|
40
|
+
|
|
31
41
|
# Consumer provided attributes.
|
|
32
42
|
# Corresponds to the JSON property `attributes`
|
|
33
43
|
# @return [Google::Apis::ApphubV1alpha::Attributes]
|
|
@@ -83,6 +93,8 @@ module Google
|
|
|
83
93
|
|
|
84
94
|
# Update properties of this object
|
|
85
95
|
def update!(**args)
|
|
96
|
+
@application_properties = args[:application_properties] if args.key?(:application_properties)
|
|
97
|
+
@application_type = args[:application_type] if args.key?(:application_type)
|
|
86
98
|
@attributes = args[:attributes] if args.key?(:attributes)
|
|
87
99
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
88
100
|
@description = args[:description] if args.key?(:description)
|
|
@@ -95,6 +107,47 @@ module Google
|
|
|
95
107
|
end
|
|
96
108
|
end
|
|
97
109
|
|
|
110
|
+
# Additional system properties of an Application.
|
|
111
|
+
class ApplicationProperties
|
|
112
|
+
include Google::Apis::Core::Hashable
|
|
113
|
+
|
|
114
|
+
# Output only. Additional metadata specific to the App Hub application. The key
|
|
115
|
+
# is a string that identifies the type of metadata and the value is the metadata
|
|
116
|
+
# contents specific to that type. Key format: `apphub.googleapis.com/`
|
|
117
|
+
# metadataType``
|
|
118
|
+
# Corresponds to the JSON property `extendedMetadata`
|
|
119
|
+
# @return [Hash<String,Google::Apis::ApphubV1alpha::ExtendedMetadata>]
|
|
120
|
+
attr_accessor :extended_metadata
|
|
121
|
+
|
|
122
|
+
def initialize(**args)
|
|
123
|
+
update!(**args)
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# Update properties of this object
|
|
127
|
+
def update!(**args)
|
|
128
|
+
@extended_metadata = args[:extended_metadata] if args.key?(:extended_metadata)
|
|
129
|
+
end
|
|
130
|
+
end
|
|
131
|
+
|
|
132
|
+
# Application type.
|
|
133
|
+
class ApplicationType
|
|
134
|
+
include Google::Apis::Core::Hashable
|
|
135
|
+
|
|
136
|
+
# The type of the application.
|
|
137
|
+
# Corresponds to the JSON property `type`
|
|
138
|
+
# @return [String]
|
|
139
|
+
attr_accessor :type
|
|
140
|
+
|
|
141
|
+
def initialize(**args)
|
|
142
|
+
update!(**args)
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
# Update properties of this object
|
|
146
|
+
def update!(**args)
|
|
147
|
+
@type = args[:type] if args.key?(:type)
|
|
148
|
+
end
|
|
149
|
+
end
|
|
150
|
+
|
|
98
151
|
# Consumer provided attributes.
|
|
99
152
|
class Attributes
|
|
100
153
|
include Google::Apis::Core::Hashable
|
|
@@ -310,6 +363,51 @@ module Google
|
|
|
310
363
|
end
|
|
311
364
|
end
|
|
312
365
|
|
|
366
|
+
# Application management boundary.
|
|
367
|
+
class Boundary
|
|
368
|
+
include Google::Apis::Core::Hashable
|
|
369
|
+
|
|
370
|
+
# Output only. Create time.
|
|
371
|
+
# Corresponds to the JSON property `createTime`
|
|
372
|
+
# @return [String]
|
|
373
|
+
attr_accessor :create_time
|
|
374
|
+
|
|
375
|
+
# Optional. The resource name of the CRM node being attached to the boundary.
|
|
376
|
+
# Format: `projects/`project-number`` or `projects/`project-id``
|
|
377
|
+
# Corresponds to the JSON property `crmNode`
|
|
378
|
+
# @return [String]
|
|
379
|
+
attr_accessor :crm_node
|
|
380
|
+
|
|
381
|
+
# Identifier. The resource name of the boundary. Format: "projects/`project`/
|
|
382
|
+
# locations/`location`/boundary"
|
|
383
|
+
# Corresponds to the JSON property `name`
|
|
384
|
+
# @return [String]
|
|
385
|
+
attr_accessor :name
|
|
386
|
+
|
|
387
|
+
# Output only. Boundary type.
|
|
388
|
+
# Corresponds to the JSON property `type`
|
|
389
|
+
# @return [String]
|
|
390
|
+
attr_accessor :type
|
|
391
|
+
|
|
392
|
+
# Output only. Update time.
|
|
393
|
+
# Corresponds to the JSON property `updateTime`
|
|
394
|
+
# @return [String]
|
|
395
|
+
attr_accessor :update_time
|
|
396
|
+
|
|
397
|
+
def initialize(**args)
|
|
398
|
+
update!(**args)
|
|
399
|
+
end
|
|
400
|
+
|
|
401
|
+
# Update properties of this object
|
|
402
|
+
def update!(**args)
|
|
403
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
404
|
+
@crm_node = args[:crm_node] if args.key?(:crm_node)
|
|
405
|
+
@name = args[:name] if args.key?(:name)
|
|
406
|
+
@type = args[:type] if args.key?(:type)
|
|
407
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
408
|
+
end
|
|
409
|
+
end
|
|
410
|
+
|
|
313
411
|
# The request message for Operations.CancelOperation.
|
|
314
412
|
class CancelOperationRequest
|
|
315
413
|
include Google::Apis::Core::Hashable
|
|
@@ -600,6 +698,59 @@ module Google
|
|
|
600
698
|
end
|
|
601
699
|
end
|
|
602
700
|
|
|
701
|
+
# Additional metadata for a Service or Workload.
|
|
702
|
+
class ExtendedMetadata
|
|
703
|
+
include Google::Apis::Core::Hashable
|
|
704
|
+
|
|
705
|
+
# Output only. The metadata contents.
|
|
706
|
+
# Corresponds to the JSON property `metadataStruct`
|
|
707
|
+
# @return [Hash<String,Object>]
|
|
708
|
+
attr_accessor :metadata_struct
|
|
709
|
+
|
|
710
|
+
def initialize(**args)
|
|
711
|
+
update!(**args)
|
|
712
|
+
end
|
|
713
|
+
|
|
714
|
+
# Update properties of this object
|
|
715
|
+
def update!(**args)
|
|
716
|
+
@metadata_struct = args[:metadata_struct] if args.key?(:metadata_struct)
|
|
717
|
+
end
|
|
718
|
+
end
|
|
719
|
+
|
|
720
|
+
# ExtendedMetadataSchema represents a schema for extended metadata of a service
|
|
721
|
+
# or workload.
|
|
722
|
+
class ExtendedMetadataSchema
|
|
723
|
+
include Google::Apis::Core::Hashable
|
|
724
|
+
|
|
725
|
+
# Output only. The JSON schema as a string.
|
|
726
|
+
# Corresponds to the JSON property `jsonSchema`
|
|
727
|
+
# @return [String]
|
|
728
|
+
attr_accessor :json_schema
|
|
729
|
+
|
|
730
|
+
# Identifier. Resource name of the schema. Format: projects//locations//
|
|
731
|
+
# extendedMetadataSchemas/
|
|
732
|
+
# Corresponds to the JSON property `name`
|
|
733
|
+
# @return [String]
|
|
734
|
+
attr_accessor :name
|
|
735
|
+
|
|
736
|
+
# Output only. The version of the schema. New versions are required to be
|
|
737
|
+
# backwards compatible.
|
|
738
|
+
# Corresponds to the JSON property `schemaVersion`
|
|
739
|
+
# @return [Fixnum]
|
|
740
|
+
attr_accessor :schema_version
|
|
741
|
+
|
|
742
|
+
def initialize(**args)
|
|
743
|
+
update!(**args)
|
|
744
|
+
end
|
|
745
|
+
|
|
746
|
+
# Update properties of this object
|
|
747
|
+
def update!(**args)
|
|
748
|
+
@json_schema = args[:json_schema] if args.key?(:json_schema)
|
|
749
|
+
@name = args[:name] if args.key?(:name)
|
|
750
|
+
@schema_version = args[:schema_version] if args.key?(:schema_version)
|
|
751
|
+
end
|
|
752
|
+
end
|
|
753
|
+
|
|
603
754
|
# Response for FindUnregisteredServices.
|
|
604
755
|
class FindUnregisteredServicesResponse
|
|
605
756
|
include Google::Apis::Core::Hashable
|
|
@@ -681,6 +832,28 @@ module Google
|
|
|
681
832
|
end
|
|
682
833
|
end
|
|
683
834
|
|
|
835
|
+
# The identity associated with a service or workload.
|
|
836
|
+
class Identity
|
|
837
|
+
include Google::Apis::Core::Hashable
|
|
838
|
+
|
|
839
|
+
# Output only. The principal of the identity. Supported formats: * `sa://my-sa@
|
|
840
|
+
# PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account * `principal://
|
|
841
|
+
# POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/
|
|
842
|
+
# MANAGED_IDENTITY_ID` for Managed Workload Identity
|
|
843
|
+
# Corresponds to the JSON property `principal`
|
|
844
|
+
# @return [String]
|
|
845
|
+
attr_accessor :principal
|
|
846
|
+
|
|
847
|
+
def initialize(**args)
|
|
848
|
+
update!(**args)
|
|
849
|
+
end
|
|
850
|
+
|
|
851
|
+
# Update properties of this object
|
|
852
|
+
def update!(**args)
|
|
853
|
+
@principal = args[:principal] if args.key?(:principal)
|
|
854
|
+
end
|
|
855
|
+
end
|
|
856
|
+
|
|
684
857
|
# Response for ListApplications.
|
|
685
858
|
class ListApplicationsResponse
|
|
686
859
|
include Google::Apis::Core::Hashable
|
|
@@ -774,6 +947,31 @@ module Google
|
|
|
774
947
|
end
|
|
775
948
|
end
|
|
776
949
|
|
|
950
|
+
# Response for ListExtendedMetadataSchemas.
|
|
951
|
+
class ListExtendedMetadataSchemasResponse
|
|
952
|
+
include Google::Apis::Core::Hashable
|
|
953
|
+
|
|
954
|
+
# List of Extended Metadata Schemas.
|
|
955
|
+
# Corresponds to the JSON property `extendedMetadataSchemas`
|
|
956
|
+
# @return [Array<Google::Apis::ApphubV1alpha::ExtendedMetadataSchema>]
|
|
957
|
+
attr_accessor :extended_metadata_schemas
|
|
958
|
+
|
|
959
|
+
# A token identifying a page of results the server should return.
|
|
960
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
961
|
+
# @return [String]
|
|
962
|
+
attr_accessor :next_page_token
|
|
963
|
+
|
|
964
|
+
def initialize(**args)
|
|
965
|
+
update!(**args)
|
|
966
|
+
end
|
|
967
|
+
|
|
968
|
+
# Update properties of this object
|
|
969
|
+
def update!(**args)
|
|
970
|
+
@extended_metadata_schemas = args[:extended_metadata_schemas] if args.key?(:extended_metadata_schemas)
|
|
971
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
972
|
+
end
|
|
973
|
+
end
|
|
974
|
+
|
|
777
975
|
# The response message for Locations.ListLocations.
|
|
778
976
|
class ListLocationsResponse
|
|
779
977
|
include Google::Apis::Core::Hashable
|
|
@@ -814,8 +1012,9 @@ module Google
|
|
|
814
1012
|
attr_accessor :operations
|
|
815
1013
|
|
|
816
1014
|
# Unordered list. Unreachable resources. Populated when the request sets `
|
|
817
|
-
# ListOperationsRequest.return_partial_success` and reads across collections
|
|
818
|
-
# when attempting to list all resources across all supported
|
|
1015
|
+
# ListOperationsRequest.return_partial_success` and reads across collections.
|
|
1016
|
+
# For example, when attempting to list all resources across all supported
|
|
1017
|
+
# locations.
|
|
819
1018
|
# Corresponds to the JSON property `unreachable`
|
|
820
1019
|
# @return [Array<String>]
|
|
821
1020
|
attr_accessor :unreachable
|
|
@@ -1254,6 +1453,25 @@ module Google
|
|
|
1254
1453
|
end
|
|
1255
1454
|
end
|
|
1256
1455
|
|
|
1456
|
+
# The registration type of a service.
|
|
1457
|
+
class RegistrationType
|
|
1458
|
+
include Google::Apis::Core::Hashable
|
|
1459
|
+
|
|
1460
|
+
# Output only. The registration type of a service.
|
|
1461
|
+
# Corresponds to the JSON property `type`
|
|
1462
|
+
# @return [String]
|
|
1463
|
+
attr_accessor :type
|
|
1464
|
+
|
|
1465
|
+
def initialize(**args)
|
|
1466
|
+
update!(**args)
|
|
1467
|
+
end
|
|
1468
|
+
|
|
1469
|
+
# Update properties of this object
|
|
1470
|
+
def update!(**args)
|
|
1471
|
+
@type = args[:type] if args.key?(:type)
|
|
1472
|
+
end
|
|
1473
|
+
end
|
|
1474
|
+
|
|
1257
1475
|
# Scope of an application.
|
|
1258
1476
|
class Scope
|
|
1259
1477
|
include Google::Apis::Core::Hashable
|
|
@@ -1414,6 +1632,14 @@ module Google
|
|
|
1414
1632
|
class ServiceProperties
|
|
1415
1633
|
include Google::Apis::Core::Hashable
|
|
1416
1634
|
|
|
1635
|
+
# Output only. Additional metadata specific to the resource type. The key is a
|
|
1636
|
+
# string that identifies the type of metadata and the value is the metadata
|
|
1637
|
+
# contents specific to that type. Key format: `apphub.googleapis.com/`
|
|
1638
|
+
# metadataType``
|
|
1639
|
+
# Corresponds to the JSON property `extendedMetadata`
|
|
1640
|
+
# @return [Hash<String,Google::Apis::ApphubV1alpha::ExtendedMetadata>]
|
|
1641
|
+
attr_accessor :extended_metadata
|
|
1642
|
+
|
|
1417
1643
|
# The functional type of a service or workload.
|
|
1418
1644
|
# Corresponds to the JSON property `functionalType`
|
|
1419
1645
|
# @return [Google::Apis::ApphubV1alpha::FunctionalType]
|
|
@@ -1425,12 +1651,22 @@ module Google
|
|
|
1425
1651
|
# @return [String]
|
|
1426
1652
|
attr_accessor :gcp_project
|
|
1427
1653
|
|
|
1654
|
+
# The identity associated with a service or workload.
|
|
1655
|
+
# Corresponds to the JSON property `identity`
|
|
1656
|
+
# @return [Google::Apis::ApphubV1alpha::Identity]
|
|
1657
|
+
attr_accessor :identity
|
|
1658
|
+
|
|
1428
1659
|
# Output only. The location that the underlying resource resides in, for example,
|
|
1429
1660
|
# us-west1.
|
|
1430
1661
|
# Corresponds to the JSON property `location`
|
|
1431
1662
|
# @return [String]
|
|
1432
1663
|
attr_accessor :location
|
|
1433
1664
|
|
|
1665
|
+
# The registration type of a service.
|
|
1666
|
+
# Corresponds to the JSON property `registrationType`
|
|
1667
|
+
# @return [Google::Apis::ApphubV1alpha::RegistrationType]
|
|
1668
|
+
attr_accessor :registration_type
|
|
1669
|
+
|
|
1434
1670
|
# Output only. The location that the underlying resource resides in if it is
|
|
1435
1671
|
# zonal, for example, us-west1-a).
|
|
1436
1672
|
# Corresponds to the JSON property `zone`
|
|
@@ -1443,9 +1679,12 @@ module Google
|
|
|
1443
1679
|
|
|
1444
1680
|
# Update properties of this object
|
|
1445
1681
|
def update!(**args)
|
|
1682
|
+
@extended_metadata = args[:extended_metadata] if args.key?(:extended_metadata)
|
|
1446
1683
|
@functional_type = args[:functional_type] if args.key?(:functional_type)
|
|
1447
1684
|
@gcp_project = args[:gcp_project] if args.key?(:gcp_project)
|
|
1685
|
+
@identity = args[:identity] if args.key?(:identity)
|
|
1448
1686
|
@location = args[:location] if args.key?(:location)
|
|
1687
|
+
@registration_type = args[:registration_type] if args.key?(:registration_type)
|
|
1449
1688
|
@zone = args[:zone] if args.key?(:zone)
|
|
1450
1689
|
end
|
|
1451
1690
|
end
|
|
@@ -1701,6 +1940,14 @@ module Google
|
|
|
1701
1940
|
class WorkloadProperties
|
|
1702
1941
|
include Google::Apis::Core::Hashable
|
|
1703
1942
|
|
|
1943
|
+
# Output only. Additional metadata specific to the resource type. The key is a
|
|
1944
|
+
# string that identifies the type of metadata and the value is the metadata
|
|
1945
|
+
# contents specific to that type. Key format: `apphub.googleapis.com/`
|
|
1946
|
+
# metadataType``
|
|
1947
|
+
# Corresponds to the JSON property `extendedMetadata`
|
|
1948
|
+
# @return [Hash<String,Google::Apis::ApphubV1alpha::ExtendedMetadata>]
|
|
1949
|
+
attr_accessor :extended_metadata
|
|
1950
|
+
|
|
1704
1951
|
# The functional type of a service or workload.
|
|
1705
1952
|
# Corresponds to the JSON property `functionalType`
|
|
1706
1953
|
# @return [Google::Apis::ApphubV1alpha::FunctionalType]
|
|
@@ -1712,6 +1959,11 @@ module Google
|
|
|
1712
1959
|
# @return [String]
|
|
1713
1960
|
attr_accessor :gcp_project
|
|
1714
1961
|
|
|
1962
|
+
# The identity associated with a service or workload.
|
|
1963
|
+
# Corresponds to the JSON property `identity`
|
|
1964
|
+
# @return [Google::Apis::ApphubV1alpha::Identity]
|
|
1965
|
+
attr_accessor :identity
|
|
1966
|
+
|
|
1715
1967
|
# Output only. The location that the underlying compute resource resides in (for
|
|
1716
1968
|
# example, us-west1).
|
|
1717
1969
|
# Corresponds to the JSON property `location`
|
|
@@ -1730,8 +1982,10 @@ module Google
|
|
|
1730
1982
|
|
|
1731
1983
|
# Update properties of this object
|
|
1732
1984
|
def update!(**args)
|
|
1985
|
+
@extended_metadata = args[:extended_metadata] if args.key?(:extended_metadata)
|
|
1733
1986
|
@functional_type = args[:functional_type] if args.key?(:functional_type)
|
|
1734
1987
|
@gcp_project = args[:gcp_project] if args.key?(:gcp_project)
|
|
1988
|
+
@identity = args[:identity] if args.key?(:identity)
|
|
1735
1989
|
@location = args[:location] if args.key?(:location)
|
|
1736
1990
|
@zone = args[:zone] if args.key?(:zone)
|
|
1737
1991
|
end
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module ApphubV1alpha
|
|
18
18
|
# Version of the google-apis-apphub_v1alpha gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.19.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.
|
|
22
|
+
GENERATOR_VERSION = "0.19.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20261019"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -28,6 +28,18 @@ module Google
|
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
+
class ApplicationProperties
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
37
|
+
class ApplicationType
|
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
39
|
+
|
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
41
|
+
end
|
|
42
|
+
|
|
31
43
|
class Attributes
|
|
32
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
45
|
|
|
@@ -52,6 +64,12 @@ module Google
|
|
|
52
64
|
include Google::Apis::Core::JsonObjectSupport
|
|
53
65
|
end
|
|
54
66
|
|
|
67
|
+
class Boundary
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
55
73
|
class CancelOperationRequest
|
|
56
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
75
|
|
|
@@ -118,6 +136,18 @@ module Google
|
|
|
118
136
|
include Google::Apis::Core::JsonObjectSupport
|
|
119
137
|
end
|
|
120
138
|
|
|
139
|
+
class ExtendedMetadata
|
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
|
+
|
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
143
|
+
end
|
|
144
|
+
|
|
145
|
+
class ExtendedMetadataSchema
|
|
146
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
147
|
+
|
|
148
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
149
|
+
end
|
|
150
|
+
|
|
121
151
|
class FindUnregisteredServicesResponse
|
|
122
152
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
123
153
|
|
|
@@ -136,6 +166,12 @@ module Google
|
|
|
136
166
|
include Google::Apis::Core::JsonObjectSupport
|
|
137
167
|
end
|
|
138
168
|
|
|
169
|
+
class Identity
|
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
171
|
+
|
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
173
|
+
end
|
|
174
|
+
|
|
139
175
|
class ListApplicationsResponse
|
|
140
176
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
141
177
|
|
|
@@ -154,6 +190,12 @@ module Google
|
|
|
154
190
|
include Google::Apis::Core::JsonObjectSupport
|
|
155
191
|
end
|
|
156
192
|
|
|
193
|
+
class ListExtendedMetadataSchemasResponse
|
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
195
|
+
|
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
197
|
+
end
|
|
198
|
+
|
|
157
199
|
class ListLocationsResponse
|
|
158
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
159
201
|
|
|
@@ -226,6 +268,12 @@ module Google
|
|
|
226
268
|
include Google::Apis::Core::JsonObjectSupport
|
|
227
269
|
end
|
|
228
270
|
|
|
271
|
+
class RegistrationType
|
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
+
|
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
+
end
|
|
276
|
+
|
|
229
277
|
class Scope
|
|
230
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
231
279
|
|
|
@@ -301,6 +349,10 @@ module Google
|
|
|
301
349
|
class Application
|
|
302
350
|
# @private
|
|
303
351
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
352
|
+
property :application_properties, as: 'applicationProperties', class: Google::Apis::ApphubV1alpha::ApplicationProperties, decorator: Google::Apis::ApphubV1alpha::ApplicationProperties::Representation
|
|
353
|
+
|
|
354
|
+
property :application_type, as: 'applicationType', class: Google::Apis::ApphubV1alpha::ApplicationType, decorator: Google::Apis::ApphubV1alpha::ApplicationType::Representation
|
|
355
|
+
|
|
304
356
|
property :attributes, as: 'attributes', class: Google::Apis::ApphubV1alpha::Attributes, decorator: Google::Apis::ApphubV1alpha::Attributes::Representation
|
|
305
357
|
|
|
306
358
|
property :create_time, as: 'createTime'
|
|
@@ -315,6 +367,21 @@ module Google
|
|
|
315
367
|
end
|
|
316
368
|
end
|
|
317
369
|
|
|
370
|
+
class ApplicationProperties
|
|
371
|
+
# @private
|
|
372
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
373
|
+
hash :extended_metadata, as: 'extendedMetadata', class: Google::Apis::ApphubV1alpha::ExtendedMetadata, decorator: Google::Apis::ApphubV1alpha::ExtendedMetadata::Representation
|
|
374
|
+
|
|
375
|
+
end
|
|
376
|
+
end
|
|
377
|
+
|
|
378
|
+
class ApplicationType
|
|
379
|
+
# @private
|
|
380
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
381
|
+
property :type, as: 'type'
|
|
382
|
+
end
|
|
383
|
+
end
|
|
384
|
+
|
|
318
385
|
class Attributes
|
|
319
386
|
# @private
|
|
320
387
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -358,6 +425,17 @@ module Google
|
|
|
358
425
|
end
|
|
359
426
|
end
|
|
360
427
|
|
|
428
|
+
class Boundary
|
|
429
|
+
# @private
|
|
430
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
431
|
+
property :create_time, as: 'createTime'
|
|
432
|
+
property :crm_node, as: 'crmNode'
|
|
433
|
+
property :name, as: 'name'
|
|
434
|
+
property :type, as: 'type'
|
|
435
|
+
property :update_time, as: 'updateTime'
|
|
436
|
+
end
|
|
437
|
+
end
|
|
438
|
+
|
|
361
439
|
class CancelOperationRequest
|
|
362
440
|
# @private
|
|
363
441
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -448,6 +526,22 @@ module Google
|
|
|
448
526
|
end
|
|
449
527
|
end
|
|
450
528
|
|
|
529
|
+
class ExtendedMetadata
|
|
530
|
+
# @private
|
|
531
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
532
|
+
hash :metadata_struct, as: 'metadataStruct'
|
|
533
|
+
end
|
|
534
|
+
end
|
|
535
|
+
|
|
536
|
+
class ExtendedMetadataSchema
|
|
537
|
+
# @private
|
|
538
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
539
|
+
property :json_schema, as: 'jsonSchema'
|
|
540
|
+
property :name, as: 'name'
|
|
541
|
+
property :schema_version, :numeric_string => true, as: 'schemaVersion'
|
|
542
|
+
end
|
|
543
|
+
end
|
|
544
|
+
|
|
451
545
|
class FindUnregisteredServicesResponse
|
|
452
546
|
# @private
|
|
453
547
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -475,6 +569,13 @@ module Google
|
|
|
475
569
|
end
|
|
476
570
|
end
|
|
477
571
|
|
|
572
|
+
class Identity
|
|
573
|
+
# @private
|
|
574
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
575
|
+
property :principal, as: 'principal'
|
|
576
|
+
end
|
|
577
|
+
end
|
|
578
|
+
|
|
478
579
|
class ListApplicationsResponse
|
|
479
580
|
# @private
|
|
480
581
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -505,6 +606,15 @@ module Google
|
|
|
505
606
|
end
|
|
506
607
|
end
|
|
507
608
|
|
|
609
|
+
class ListExtendedMetadataSchemasResponse
|
|
610
|
+
# @private
|
|
611
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
612
|
+
collection :extended_metadata_schemas, as: 'extendedMetadataSchemas', class: Google::Apis::ApphubV1alpha::ExtendedMetadataSchema, decorator: Google::Apis::ApphubV1alpha::ExtendedMetadataSchema::Representation
|
|
613
|
+
|
|
614
|
+
property :next_page_token, as: 'nextPageToken'
|
|
615
|
+
end
|
|
616
|
+
end
|
|
617
|
+
|
|
508
618
|
class ListLocationsResponse
|
|
509
619
|
# @private
|
|
510
620
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -626,6 +736,13 @@ module Google
|
|
|
626
736
|
end
|
|
627
737
|
end
|
|
628
738
|
|
|
739
|
+
class RegistrationType
|
|
740
|
+
# @private
|
|
741
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
742
|
+
property :type, as: 'type'
|
|
743
|
+
end
|
|
744
|
+
end
|
|
745
|
+
|
|
629
746
|
class Scope
|
|
630
747
|
# @private
|
|
631
748
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -667,10 +784,16 @@ module Google
|
|
|
667
784
|
class ServiceProperties
|
|
668
785
|
# @private
|
|
669
786
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
787
|
+
hash :extended_metadata, as: 'extendedMetadata', class: Google::Apis::ApphubV1alpha::ExtendedMetadata, decorator: Google::Apis::ApphubV1alpha::ExtendedMetadata::Representation
|
|
788
|
+
|
|
670
789
|
property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1alpha::FunctionalType, decorator: Google::Apis::ApphubV1alpha::FunctionalType::Representation
|
|
671
790
|
|
|
672
791
|
property :gcp_project, as: 'gcpProject'
|
|
792
|
+
property :identity, as: 'identity', class: Google::Apis::ApphubV1alpha::Identity, decorator: Google::Apis::ApphubV1alpha::Identity::Representation
|
|
793
|
+
|
|
673
794
|
property :location, as: 'location'
|
|
795
|
+
property :registration_type, as: 'registrationType', class: Google::Apis::ApphubV1alpha::RegistrationType, decorator: Google::Apis::ApphubV1alpha::RegistrationType::Representation
|
|
796
|
+
|
|
674
797
|
property :zone, as: 'zone'
|
|
675
798
|
end
|
|
676
799
|
end
|
|
@@ -738,9 +861,13 @@ module Google
|
|
|
738
861
|
class WorkloadProperties
|
|
739
862
|
# @private
|
|
740
863
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
864
|
+
hash :extended_metadata, as: 'extendedMetadata', class: Google::Apis::ApphubV1alpha::ExtendedMetadata, decorator: Google::Apis::ApphubV1alpha::ExtendedMetadata::Representation
|
|
865
|
+
|
|
741
866
|
property :functional_type, as: 'functionalType', class: Google::Apis::ApphubV1alpha::FunctionalType, decorator: Google::Apis::ApphubV1alpha::FunctionalType::Representation
|
|
742
867
|
|
|
743
868
|
property :gcp_project, as: 'gcpProject'
|
|
869
|
+
property :identity, as: 'identity', class: Google::Apis::ApphubV1alpha::Identity, decorator: Google::Apis::ApphubV1alpha::Identity::Representation
|
|
870
|
+
|
|
744
871
|
property :location, as: 'location'
|
|
745
872
|
property :zone, as: 'zone'
|
|
746
873
|
end
|
|
@@ -22,7 +22,7 @@ module Google
|
|
|
22
22
|
module ApphubV1alpha
|
|
23
23
|
# App Hub API
|
|
24
24
|
#
|
|
25
|
-
#
|
|
25
|
+
# App Hub lets you build, operate, and manage applications on Google Cloud.
|
|
26
26
|
#
|
|
27
27
|
# @example
|
|
28
28
|
# require 'google/apis/apphub_v1alpha'
|
|
@@ -118,12 +118,52 @@ module Google
|
|
|
118
118
|
execute_or_queue_command(command, &block)
|
|
119
119
|
end
|
|
120
120
|
|
|
121
|
-
#
|
|
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::ApphubV1alpha::Boundary] parsed result object
|
|
135
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
136
|
+
#
|
|
137
|
+
# @return [Google::Apis::ApphubV1alpha::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, 'v1alpha/{+name}', options)
|
|
144
|
+
command.response_representation = Google::Apis::ApphubV1alpha::Boundary::Representation
|
|
145
|
+
command.response_class = Google::Apis::ApphubV1alpha::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
|
+
|
|
152
|
+
# Lists information about the supported locations for this service. This method
|
|
153
|
+
# lists locations based on the resource scope provided in the
|
|
154
|
+
# ListLocationsRequest.name field: * **Global locations**: If `name` is empty,
|
|
155
|
+
# the method lists the public locations available to all projects. * **Project-
|
|
156
|
+
# specific locations**: If `name` follows the format `projects/`project``, the
|
|
157
|
+
# method lists locations visible to that specific project. This includes public,
|
|
158
|
+
# private, or other project-specific locations enabled for the project. For gRPC
|
|
159
|
+
# and client library implementations, the resource name is passed as the `name`
|
|
160
|
+
# field. For direct service calls, the resource name is incorporated into the
|
|
161
|
+
# request path based on the specific service implementation and version.
|
|
122
162
|
# @param [String] name
|
|
123
163
|
# The resource that owns the locations collection, if applicable.
|
|
124
164
|
# @param [Array<String>, String] extra_location_types
|
|
125
|
-
# Optional. Do not use this field
|
|
126
|
-
#
|
|
165
|
+
# Optional. Do not use this field unless explicitly documented otherwise. This
|
|
166
|
+
# is primarily for internal usage.
|
|
127
167
|
# @param [String] filter
|
|
128
168
|
# A filter to narrow down results to a preferred subset. The filtering language
|
|
129
169
|
# accepts strings like `"displayName=tokyo"`, and is documented in more detail
|
|
@@ -198,6 +238,59 @@ module Google
|
|
|
198
238
|
execute_or_queue_command(command, &block)
|
|
199
239
|
end
|
|
200
240
|
|
|
241
|
+
# Updates a Boundary.
|
|
242
|
+
# @param [String] name
|
|
243
|
+
# Identifier. The resource name of the boundary. Format: "projects/`project`/
|
|
244
|
+
# locations/`location`/boundary"
|
|
245
|
+
# @param [Google::Apis::ApphubV1alpha::Boundary] boundary_object
|
|
246
|
+
# @param [String] request_id
|
|
247
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
248
|
+
# request ID so that if you must retry your request, the server will know to
|
|
249
|
+
# ignore the request if it has already been completed. The server will guarantee
|
|
250
|
+
# that for at least 60 minutes since the first request. For example, consider a
|
|
251
|
+
# situation where you make an initial request and the request times out. If you
|
|
252
|
+
# make the request again with the same request ID, the server can check if
|
|
253
|
+
# original operation with the same request ID was received, and if so, will
|
|
254
|
+
# ignore the second request. This prevents clients from accidentally creating
|
|
255
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
256
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
257
|
+
# @param [String] update_mask
|
|
258
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
259
|
+
# Boundary resource by the update. The fields specified in the update_mask are
|
|
260
|
+
# relative to the resource, not the full request. A field will be overwritten if
|
|
261
|
+
# it is in the mask. If the user does not provide a mask then all fields will be
|
|
262
|
+
# overwritten.
|
|
263
|
+
# @param [String] fields
|
|
264
|
+
# Selector specifying which fields to include in a partial response.
|
|
265
|
+
# @param [String] quota_user
|
|
266
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
267
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
268
|
+
# @param [Google::Apis::RequestOptions] options
|
|
269
|
+
# Request-specific options
|
|
270
|
+
#
|
|
271
|
+
# @yield [result, err] Result & error if block supplied
|
|
272
|
+
# @yieldparam result [Google::Apis::ApphubV1alpha::Operation] parsed result object
|
|
273
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
274
|
+
#
|
|
275
|
+
# @return [Google::Apis::ApphubV1alpha::Operation]
|
|
276
|
+
#
|
|
277
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
278
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
279
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
280
|
+
def update_project_location_boundary(name, boundary_object = nil, request_id: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
281
|
+
command = make_simple_command(:patch, 'v1alpha/{+name}', options)
|
|
282
|
+
command.request_representation = Google::Apis::ApphubV1alpha::Boundary::Representation
|
|
283
|
+
command.request_object = boundary_object
|
|
284
|
+
command.response_representation = Google::Apis::ApphubV1alpha::Operation::Representation
|
|
285
|
+
command.response_class = Google::Apis::ApphubV1alpha::Operation
|
|
286
|
+
command.params['name'] = name unless name.nil?
|
|
287
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
|
288
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
289
|
+
command.query['fields'] = fields unless fields.nil?
|
|
290
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
291
|
+
execute_or_queue_command(command, &block)
|
|
292
|
+
end
|
|
293
|
+
|
|
201
294
|
# Creates an Application in a host project and location.
|
|
202
295
|
# @param [String] parent
|
|
203
296
|
# Required. Project and location to create Application in. Expected format: `
|
|
@@ -429,7 +522,7 @@ module Google
|
|
|
429
522
|
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
430
523
|
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
431
524
|
# @param [String] update_mask
|
|
432
|
-
#
|
|
525
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
433
526
|
# Application resource by the update. The fields specified in the update_mask
|
|
434
527
|
# are relative to the resource, not the full request. The API changes the values
|
|
435
528
|
# of the fields as specified in the update_mask. The API ignores the values of
|
|
@@ -733,7 +826,7 @@ module Google
|
|
|
733
826
|
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
734
827
|
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
735
828
|
# @param [String] update_mask
|
|
736
|
-
#
|
|
829
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
737
830
|
# Service resource by the update. The fields specified in the update_mask are
|
|
738
831
|
# relative to the resource, not the full request. The API changes the values of
|
|
739
832
|
# the fields as specified in the update_mask. The API ignores the values of all
|
|
@@ -962,7 +1055,7 @@ module Google
|
|
|
962
1055
|
# duplicate commitments. The request ID must be a valid UUID with the exception
|
|
963
1056
|
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
|
964
1057
|
# @param [String] update_mask
|
|
965
|
-
#
|
|
1058
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
966
1059
|
# Workload resource by the update. The fields specified in the update_mask are
|
|
967
1060
|
# relative to the resource, not the full request. The API changes the values of
|
|
968
1061
|
# the fields as specified in the update_mask. The API ignores the values of all
|
|
@@ -1314,6 +1407,77 @@ module Google
|
|
|
1314
1407
|
execute_or_queue_command(command, &block)
|
|
1315
1408
|
end
|
|
1316
1409
|
|
|
1410
|
+
# Gets an Extended Metadata Schema.
|
|
1411
|
+
# @param [String] name
|
|
1412
|
+
# Required. Schema resource name. Format: `projects/`project`/locations/`
|
|
1413
|
+
# location`/extendedMetadataSchemas/`extended_metadata_schema``. ``
|
|
1414
|
+
# extended_metadata_schema`` has the format `"apphub.googleapis.com/`SchemaName`"
|
|
1415
|
+
# `.
|
|
1416
|
+
# @param [String] fields
|
|
1417
|
+
# Selector specifying which fields to include in a partial response.
|
|
1418
|
+
# @param [String] quota_user
|
|
1419
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1420
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1421
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1422
|
+
# Request-specific options
|
|
1423
|
+
#
|
|
1424
|
+
# @yield [result, err] Result & error if block supplied
|
|
1425
|
+
# @yieldparam result [Google::Apis::ApphubV1alpha::ExtendedMetadataSchema] parsed result object
|
|
1426
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1427
|
+
#
|
|
1428
|
+
# @return [Google::Apis::ApphubV1alpha::ExtendedMetadataSchema]
|
|
1429
|
+
#
|
|
1430
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1431
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1432
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1433
|
+
def get_project_location_extended_metadata_schema(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
1434
|
+
command = make_simple_command(:get, 'v1alpha/{+name}', options)
|
|
1435
|
+
command.response_representation = Google::Apis::ApphubV1alpha::ExtendedMetadataSchema::Representation
|
|
1436
|
+
command.response_class = Google::Apis::ApphubV1alpha::ExtendedMetadataSchema
|
|
1437
|
+
command.params['name'] = name unless name.nil?
|
|
1438
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1439
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1440
|
+
execute_or_queue_command(command, &block)
|
|
1441
|
+
end
|
|
1442
|
+
|
|
1443
|
+
# Lists Extended Metadata Schemas available in a host project and location.
|
|
1444
|
+
# @param [String] parent
|
|
1445
|
+
# Required. Project and location to list Extended Metadata Schemas on. Expected
|
|
1446
|
+
# format: `projects/`project`/locations/`location``.
|
|
1447
|
+
# @param [Fixnum] page_size
|
|
1448
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
|
1449
|
+
# If unspecified, server will pick an appropriate default.
|
|
1450
|
+
# @param [String] page_token
|
|
1451
|
+
# Optional. A token identifying a page of results the server should return.
|
|
1452
|
+
# @param [String] fields
|
|
1453
|
+
# Selector specifying which fields to include in a partial response.
|
|
1454
|
+
# @param [String] quota_user
|
|
1455
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
1456
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
1457
|
+
# @param [Google::Apis::RequestOptions] options
|
|
1458
|
+
# Request-specific options
|
|
1459
|
+
#
|
|
1460
|
+
# @yield [result, err] Result & error if block supplied
|
|
1461
|
+
# @yieldparam result [Google::Apis::ApphubV1alpha::ListExtendedMetadataSchemasResponse] parsed result object
|
|
1462
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
1463
|
+
#
|
|
1464
|
+
# @return [Google::Apis::ApphubV1alpha::ListExtendedMetadataSchemasResponse]
|
|
1465
|
+
#
|
|
1466
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
1467
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
1468
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
1469
|
+
def list_project_location_extended_metadata_schemas(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
1470
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/extendedMetadataSchemas', options)
|
|
1471
|
+
command.response_representation = Google::Apis::ApphubV1alpha::ListExtendedMetadataSchemasResponse::Representation
|
|
1472
|
+
command.response_class = Google::Apis::ApphubV1alpha::ListExtendedMetadataSchemasResponse
|
|
1473
|
+
command.params['parent'] = parent unless parent.nil?
|
|
1474
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
1475
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
1476
|
+
command.query['fields'] = fields unless fields.nil?
|
|
1477
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
1478
|
+
execute_or_queue_command(command, &block)
|
|
1479
|
+
end
|
|
1480
|
+
|
|
1317
1481
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
1318
1482
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
1319
1483
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
|
@@ -1430,11 +1594,12 @@ module Google
|
|
|
1430
1594
|
# The standard list page token.
|
|
1431
1595
|
# @param [Boolean] return_partial_success
|
|
1432
1596
|
# When set to `true`, operations that are reachable are returned as normal, and
|
|
1433
|
-
# those that are unreachable are returned in the
|
|
1434
|
-
# unreachable
|
|
1435
|
-
#
|
|
1436
|
-
# by default
|
|
1437
|
-
# explicitly documented otherwise in service or product specific
|
|
1597
|
+
# those that are unreachable are returned in the ListOperationsResponse.
|
|
1598
|
+
# unreachable field. This can only be `true` when reading across collections.
|
|
1599
|
+
# For example, when `parent` is set to `"projects/example/locations/-"`. This
|
|
1600
|
+
# field is not supported by default and will result in an `UNIMPLEMENTED` error
|
|
1601
|
+
# if set unless explicitly documented otherwise in service or product specific
|
|
1602
|
+
# documentation.
|
|
1438
1603
|
# @param [String] fields
|
|
1439
1604
|
# Selector specifying which fields to include in a partial response.
|
|
1440
1605
|
# @param [String] quota_user
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-apphub_v1alpha
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.19.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_v1alpha/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1alpha/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1alpha/v0.19.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apphub_v1alpha
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|
|
@@ -66,7 +66,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
66
66
|
requirements:
|
|
67
67
|
- - ">="
|
|
68
68
|
- !ruby/object:Gem::Version
|
|
69
|
-
version: '3.
|
|
69
|
+
version: '3.2'
|
|
70
70
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
71
71
|
requirements:
|
|
72
72
|
- - ">="
|