google-apis-apphub_v1alpha 0.5.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e809dec6a8822b72c61c25652aef94e5f3c453100c9ca19e15373e6015dd067
|
4
|
+
data.tar.gz: baf9928a5a6abeea22ec7e935d00ad4907f02348627fd5607a94924609c4b6a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 24e8ebd0d7af8a2b839e66e3e369beea2baffbc2b0ddf09a229262546dd497fda358dfe5e516d9b45586aaa0e7f7a3b4d05d2bd5fee4493d78a7582e731e4ced
|
7
|
+
data.tar.gz: 885474d50e6748a8db35aaeacfa563f442e0ca8eeb645776293725e2f05f3ec78e65aff34234c97be8771c6f5cd4ba82f7462919198345bef1e62aa0d114a7be
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-apphub_v1alpha
|
2
2
|
|
3
|
+
### v0.6.0 (2024-03-10)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240307
|
6
|
+
* Regenerated using generator version 0.14.0
|
7
|
+
|
3
8
|
### v0.5.0 (2024-02-23)
|
4
9
|
|
5
10
|
* Regenerated from discovery document revision 20240217
|
@@ -603,7 +603,7 @@ module Google
|
|
603
603
|
class FindUnregisteredServicesResponse
|
604
604
|
include Google::Apis::Core::Hashable
|
605
605
|
|
606
|
-
# List of
|
606
|
+
# List of Discovered Services.
|
607
607
|
# Corresponds to the JSON property `discoveredServices`
|
608
608
|
# @return [Array<Google::Apis::ApphubV1alpha::DiscoveredService>]
|
609
609
|
attr_accessor :discovered_services
|
@@ -634,7 +634,7 @@ module Google
|
|
634
634
|
class FindUnregisteredWorkloadsResponse
|
635
635
|
include Google::Apis::Core::Hashable
|
636
636
|
|
637
|
-
# List of
|
637
|
+
# List of Discovered Workloads.
|
638
638
|
# Corresponds to the JSON property `discoveredWorkloads`
|
639
639
|
# @return [Array<Google::Apis::ApphubV1alpha::DiscoveredWorkload>]
|
640
640
|
attr_accessor :discovered_workloads
|
@@ -696,7 +696,7 @@ module Google
|
|
696
696
|
class ListDiscoveredServicesResponse
|
697
697
|
include Google::Apis::Core::Hashable
|
698
698
|
|
699
|
-
# List of
|
699
|
+
# List of Discovered Services.
|
700
700
|
# Corresponds to the JSON property `discoveredServices`
|
701
701
|
# @return [Array<Google::Apis::ApphubV1alpha::DiscoveredService>]
|
702
702
|
attr_accessor :discovered_services
|
@@ -727,7 +727,7 @@ module Google
|
|
727
727
|
class ListDiscoveredWorkloadsResponse
|
728
728
|
include Google::Apis::Core::Hashable
|
729
729
|
|
730
|
-
# List of
|
730
|
+
# List of Discovered Workloads.
|
731
731
|
# Corresponds to the JSON property `discoveredWorkloads`
|
732
732
|
# @return [Array<Google::Apis::ApphubV1alpha::DiscoveredWorkload>]
|
733
733
|
attr_accessor :discovered_workloads
|
@@ -944,6 +944,49 @@ module Google
|
|
944
944
|
end
|
945
945
|
end
|
946
946
|
|
947
|
+
# Response for LookupDiscoveredService.
|
948
|
+
class LookupDiscoveredServiceResponse
|
949
|
+
include Google::Apis::Core::Hashable
|
950
|
+
|
951
|
+
# DiscoveredService is a network/api interface that exposes some functionality
|
952
|
+
# to clients for consumption over the network. A discovered service can be
|
953
|
+
# registered to a App Hub service.
|
954
|
+
# Corresponds to the JSON property `discoveredService`
|
955
|
+
# @return [Google::Apis::ApphubV1alpha::DiscoveredService]
|
956
|
+
attr_accessor :discovered_service
|
957
|
+
|
958
|
+
def initialize(**args)
|
959
|
+
update!(**args)
|
960
|
+
end
|
961
|
+
|
962
|
+
# Update properties of this object
|
963
|
+
def update!(**args)
|
964
|
+
@discovered_service = args[:discovered_service] if args.key?(:discovered_service)
|
965
|
+
end
|
966
|
+
end
|
967
|
+
|
968
|
+
# Response for LookupDiscoveredWorkload.
|
969
|
+
class LookupDiscoveredWorkloadResponse
|
970
|
+
include Google::Apis::Core::Hashable
|
971
|
+
|
972
|
+
# DiscoveredWorkload is a binary deployment (such as managed instance groups (
|
973
|
+
# MIGs) and GKE deployments) that performs the smallest logical subset of
|
974
|
+
# business functionality. A discovered workload can be registered to an App Hub
|
975
|
+
# Workload.
|
976
|
+
# Corresponds to the JSON property `discoveredWorkload`
|
977
|
+
# @return [Google::Apis::ApphubV1alpha::DiscoveredWorkload]
|
978
|
+
attr_accessor :discovered_workload
|
979
|
+
|
980
|
+
def initialize(**args)
|
981
|
+
update!(**args)
|
982
|
+
end
|
983
|
+
|
984
|
+
# Update properties of this object
|
985
|
+
def update!(**args)
|
986
|
+
@discovered_workload = args[:discovered_workload] if args.key?(:discovered_workload)
|
987
|
+
end
|
988
|
+
end
|
989
|
+
|
947
990
|
# Response for LookupServiceProjectAttachment.
|
948
991
|
class LookupServiceProjectAttachmentResponse
|
949
992
|
include Google::Apis::Core::Hashable
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240307"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -184,6 +184,18 @@ module Google
|
|
184
184
|
include Google::Apis::Core::JsonObjectSupport
|
185
185
|
end
|
186
186
|
|
187
|
+
class LookupDiscoveredServiceResponse
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
193
|
+
class LookupDiscoveredWorkloadResponse
|
194
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
|
+
|
196
|
+
include Google::Apis::Core::JsonObjectSupport
|
197
|
+
end
|
198
|
+
|
187
199
|
class LookupServiceProjectAttachmentResponse
|
188
200
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
201
|
|
@@ -539,6 +551,22 @@ module Google
|
|
539
551
|
end
|
540
552
|
end
|
541
553
|
|
554
|
+
class LookupDiscoveredServiceResponse
|
555
|
+
# @private
|
556
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
557
|
+
property :discovered_service, as: 'discoveredService', class: Google::Apis::ApphubV1alpha::DiscoveredService, decorator: Google::Apis::ApphubV1alpha::DiscoveredService::Representation
|
558
|
+
|
559
|
+
end
|
560
|
+
end
|
561
|
+
|
562
|
+
class LookupDiscoveredWorkloadResponse
|
563
|
+
# @private
|
564
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
565
|
+
property :discovered_workload, as: 'discoveredWorkload', class: Google::Apis::ApphubV1alpha::DiscoveredWorkload, decorator: Google::Apis::ApphubV1alpha::DiscoveredWorkload::Representation
|
566
|
+
|
567
|
+
end
|
568
|
+
end
|
569
|
+
|
542
570
|
class LookupServiceProjectAttachmentResponse
|
543
571
|
# @private
|
544
572
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -51,10 +51,13 @@ module Google
|
|
51
51
|
@batch_path = 'batch'
|
52
52
|
end
|
53
53
|
|
54
|
-
# Detaches a service project from a host project. You can call this API from
|
55
|
-
#
|
54
|
+
# Detaches a service project from a host project. You can call this API from any
|
55
|
+
# service project without needing access to the host project that it is attached
|
56
|
+
# to.
|
56
57
|
# @param [String] name
|
57
|
-
# Required.
|
58
|
+
# Required. Service project id and location to detach from a host project. Only
|
59
|
+
# global location is supported. Expected format: `projects/`project`/locations/`
|
60
|
+
# location``.
|
58
61
|
# @param [Google::Apis::ApphubV1alpha::DetachServiceProjectAttachmentRequest] detach_service_project_attachment_request_object
|
59
62
|
# @param [String] fields
|
60
63
|
# Selector specifying which fields to include in a partial response.
|
@@ -158,10 +161,12 @@ module Google
|
|
158
161
|
execute_or_queue_command(command, &block)
|
159
162
|
end
|
160
163
|
|
161
|
-
#
|
162
|
-
#
|
164
|
+
# Lists a service project attachment for a given service project. You can call
|
165
|
+
# this API from any project to find if it is attached to a host project.
|
163
166
|
# @param [String] name
|
164
|
-
# Required.
|
167
|
+
# Required. Service project ID and location to lookup service project attachment
|
168
|
+
# for. Only global location is supported. Expected format: `projects/`project`/
|
169
|
+
# locations/`location``.
|
165
170
|
# @param [String] fields
|
166
171
|
# Selector specifying which fields to include in a partial response.
|
167
172
|
# @param [String] quota_user
|
@@ -191,7 +196,8 @@ module Google
|
|
191
196
|
|
192
197
|
# Creates an Application in a host project and location.
|
193
198
|
# @param [String] parent
|
194
|
-
# Required.
|
199
|
+
# Required. Project and location to create Application in. Expected format: `
|
200
|
+
# projects/`project`/locations/`location``.
|
195
201
|
# @param [Google::Apis::ApphubV1alpha::Application] application_object
|
196
202
|
# @param [String] application_id
|
197
203
|
# Required. The Application identifier. Must contain only lowercase letters,
|
@@ -241,7 +247,8 @@ module Google
|
|
241
247
|
|
242
248
|
# Deletes an Application in a host project and location.
|
243
249
|
# @param [String] name
|
244
|
-
# Required.
|
250
|
+
# Required. Fully qualified name of the Application to delete. Expected format: `
|
251
|
+
# projects/`project`/locations/`location`/applications/`application``.
|
245
252
|
# @param [String] request_id
|
246
253
|
# Optional. An optional request ID to identify requests. Specify a unique
|
247
254
|
# request ID so that if you must retry your request, the server will know to
|
@@ -283,7 +290,8 @@ module Google
|
|
283
290
|
|
284
291
|
# Gets an Application in a host project and location.
|
285
292
|
# @param [String] name
|
286
|
-
# Required.
|
293
|
+
# Required. Fully qualified name of the Application to fetch. Expected format: `
|
294
|
+
# projects/`project`/locations/`location`/applications/`application``.
|
287
295
|
# @param [String] fields
|
288
296
|
# Selector specifying which fields to include in a partial response.
|
289
297
|
# @param [String] quota_user
|
@@ -358,11 +366,12 @@ module Google
|
|
358
366
|
|
359
367
|
# Lists Applications in a host project and location.
|
360
368
|
# @param [String] parent
|
361
|
-
# Required.
|
369
|
+
# Required. Project and location to list Applications on. Expected format: `
|
370
|
+
# projects/`project`/locations/`location``.
|
362
371
|
# @param [String] filter
|
363
|
-
# Optional. Filtering results
|
372
|
+
# Optional. Filtering results.
|
364
373
|
# @param [String] order_by
|
365
|
-
# Optional. Hint for how to order the results
|
374
|
+
# Optional. Hint for how to order the results.
|
366
375
|
# @param [Fixnum] page_size
|
367
376
|
# Optional. Requested page size. Server may return fewer items than requested.
|
368
377
|
# If unspecified, server will pick an appropriate default.
|
@@ -532,7 +541,9 @@ module Google
|
|
532
541
|
|
533
542
|
# Creates a Service in an Application.
|
534
543
|
# @param [String] parent
|
535
|
-
# Required.
|
544
|
+
# Required. Fully qualified name of the parent Application to create the Service
|
545
|
+
# in. Expected format: `projects/`project`/locations/`location`/applications/`
|
546
|
+
# application``.
|
536
547
|
# @param [Google::Apis::ApphubV1alpha::Service] service_object
|
537
548
|
# @param [String] request_id
|
538
549
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -580,9 +591,11 @@ module Google
|
|
580
591
|
execute_or_queue_command(command, &block)
|
581
592
|
end
|
582
593
|
|
583
|
-
# Deletes a Service
|
594
|
+
# Deletes a Service from an Application.
|
584
595
|
# @param [String] name
|
585
|
-
# Required.
|
596
|
+
# Required. Fully qualified name of the Service to delete from an Application.
|
597
|
+
# Expected format: `projects/`project`/locations/`location`/applications/`
|
598
|
+
# application`/services/`service``.
|
586
599
|
# @param [String] request_id
|
587
600
|
# Optional. An optional request ID to identify requests. Specify a unique
|
588
601
|
# request ID so that if you must retry your request, the server will know to
|
@@ -624,7 +637,9 @@ module Google
|
|
624
637
|
|
625
638
|
# Gets a Service in an Application.
|
626
639
|
# @param [String] name
|
627
|
-
# Required.
|
640
|
+
# Required. Fully qualified name of the Service to fetch. Expected format: `
|
641
|
+
# projects/`project`/locations/`location`/applications/`application`/services/`
|
642
|
+
# service``.
|
628
643
|
# @param [String] fields
|
629
644
|
# Selector specifying which fields to include in a partial response.
|
630
645
|
# @param [String] quota_user
|
@@ -652,9 +667,11 @@ module Google
|
|
652
667
|
execute_or_queue_command(command, &block)
|
653
668
|
end
|
654
669
|
|
655
|
-
#
|
670
|
+
# Lists Services in an Application.
|
656
671
|
# @param [String] parent
|
657
|
-
# Required.
|
672
|
+
# Required. Fully qualified name of the parent Application to list Services for.
|
673
|
+
# Expected format: `projects/`project`/locations/`location`/applications/`
|
674
|
+
# application``.
|
658
675
|
# @param [String] filter
|
659
676
|
# Optional. Filtering results
|
660
677
|
# @param [String] order_by
|
@@ -752,7 +769,9 @@ module Google
|
|
752
769
|
|
753
770
|
# Creates a Workload in an Application.
|
754
771
|
# @param [String] parent
|
755
|
-
# Required.
|
772
|
+
# Required. Fully qualified name of the Application to create Workload in.
|
773
|
+
# Expected format: `projects/`project`/locations/`location`/applications/`
|
774
|
+
# application``.
|
756
775
|
# @param [Google::Apis::ApphubV1alpha::Workload] workload_object
|
757
776
|
# @param [String] request_id
|
758
777
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -800,9 +819,11 @@ module Google
|
|
800
819
|
execute_or_queue_command(command, &block)
|
801
820
|
end
|
802
821
|
|
803
|
-
# Deletes a Workload
|
822
|
+
# Deletes a Workload from an Application.
|
804
823
|
# @param [String] name
|
805
|
-
# Required.
|
824
|
+
# Required. Fully qualified name of the Workload to delete from an Application.
|
825
|
+
# Expected format: `projects/`project`/locations/`location`/applications/`
|
826
|
+
# application`/workloads/`workload``.
|
806
827
|
# @param [String] request_id
|
807
828
|
# Optional. An optional request ID to identify requests. Specify a unique
|
808
829
|
# request ID so that if you must retry your request, the server will know to
|
@@ -844,7 +865,9 @@ module Google
|
|
844
865
|
|
845
866
|
# Gets a Workload in an Application.
|
846
867
|
# @param [String] name
|
847
|
-
# Required.
|
868
|
+
# Required. Fully qualified name of the Workload to fetch. Expected format: `
|
869
|
+
# projects/`project`/locations/`location`/applications/`application`/workloads/`
|
870
|
+
# workload``.
|
848
871
|
# @param [String] fields
|
849
872
|
# Selector specifying which fields to include in a partial response.
|
850
873
|
# @param [String] quota_user
|
@@ -874,11 +897,13 @@ module Google
|
|
874
897
|
|
875
898
|
# Lists Workloads in an Application.
|
876
899
|
# @param [String] parent
|
877
|
-
# Required.
|
900
|
+
# Required. Fully qualified name of the parent Application to list Workloads for.
|
901
|
+
# Expected format: `projects/`project`/locations/`location`/applications/`
|
902
|
+
# application``.
|
878
903
|
# @param [String] filter
|
879
|
-
# Optional. Filtering results
|
904
|
+
# Optional. Filtering results.
|
880
905
|
# @param [String] order_by
|
881
|
-
# Optional. Hint for how to order the results
|
906
|
+
# Optional. Hint for how to order the results.
|
882
907
|
# @param [Fixnum] page_size
|
883
908
|
# Optional. Requested page size. Server may return fewer items than requested.
|
884
909
|
# If unspecified, server will pick an appropriate default.
|
@@ -972,11 +997,12 @@ module Google
|
|
972
997
|
|
973
998
|
# Finds unregistered services in a host project and location.
|
974
999
|
# @param [String] parent
|
975
|
-
# Required.
|
1000
|
+
# Required. Project and location to find unregistered Discovered Services on.
|
1001
|
+
# Expected format: `projects/`project`/locations/`location``.
|
976
1002
|
# @param [String] filter
|
977
|
-
# Optional. Filtering results
|
1003
|
+
# Optional. Filtering results.
|
978
1004
|
# @param [String] order_by
|
979
|
-
# Optional. Hint for how to order the results
|
1005
|
+
# Optional. Hint for how to order the results.
|
980
1006
|
# @param [Fixnum] page_size
|
981
1007
|
# Optional. Requested page size. Server may return fewer items than requested.
|
982
1008
|
# If unspecified, server will pick an appropriate default.
|
@@ -1013,9 +1039,11 @@ module Google
|
|
1013
1039
|
execute_or_queue_command(command, &block)
|
1014
1040
|
end
|
1015
1041
|
|
1016
|
-
# Gets a
|
1042
|
+
# Gets a Discovered Service in a host project and location.
|
1017
1043
|
# @param [String] name
|
1018
|
-
# Required.
|
1044
|
+
# Required. Fully qualified name of the Discovered Service to fetch. Expected
|
1045
|
+
# format: `projects/`project`/locations/`location`/discoveredServices/`
|
1046
|
+
# discoveredService``.
|
1019
1047
|
# @param [String] fields
|
1020
1048
|
# Selector specifying which fields to include in a partial response.
|
1021
1049
|
# @param [String] quota_user
|
@@ -1043,14 +1071,15 @@ module Google
|
|
1043
1071
|
execute_or_queue_command(command, &block)
|
1044
1072
|
end
|
1045
1073
|
|
1046
|
-
# Lists
|
1074
|
+
# Lists Discovered Services that can be added to an Application in a host
|
1047
1075
|
# project and location.
|
1048
1076
|
# @param [String] parent
|
1049
|
-
# Required.
|
1077
|
+
# Required. Project and location to list Discovered Services on. Expected format:
|
1078
|
+
# `projects/`project`/locations/`location``.
|
1050
1079
|
# @param [String] filter
|
1051
|
-
# Optional. Filtering results
|
1080
|
+
# Optional. Filtering results.
|
1052
1081
|
# @param [String] order_by
|
1053
|
-
# Optional. Hint for how to order the results
|
1082
|
+
# Optional. Hint for how to order the results.
|
1054
1083
|
# @param [Fixnum] page_size
|
1055
1084
|
# Optional. Requested page size. Server may return fewer items than requested.
|
1056
1085
|
# If unspecified, server will pick an appropriate default.
|
@@ -1087,13 +1116,50 @@ module Google
|
|
1087
1116
|
execute_or_queue_command(command, &block)
|
1088
1117
|
end
|
1089
1118
|
|
1119
|
+
# Lists a Discovered Service in a host project and location, with a given
|
1120
|
+
# resource URI.
|
1121
|
+
# @param [String] parent
|
1122
|
+
# Required. Host project ID and location to lookup Discovered Service in.
|
1123
|
+
# Expected format: `projects/`project`/locations/`location``.
|
1124
|
+
# @param [String] uri
|
1125
|
+
# Required. Resource URI to find DiscoveredService for. Accepts both project
|
1126
|
+
# number and project ID and does translation when needed.
|
1127
|
+
# @param [String] fields
|
1128
|
+
# Selector specifying which fields to include in a partial response.
|
1129
|
+
# @param [String] quota_user
|
1130
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1131
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1132
|
+
# @param [Google::Apis::RequestOptions] options
|
1133
|
+
# Request-specific options
|
1134
|
+
#
|
1135
|
+
# @yield [result, err] Result & error if block supplied
|
1136
|
+
# @yieldparam result [Google::Apis::ApphubV1alpha::LookupDiscoveredServiceResponse] parsed result object
|
1137
|
+
# @yieldparam err [StandardError] error object if request failed
|
1138
|
+
#
|
1139
|
+
# @return [Google::Apis::ApphubV1alpha::LookupDiscoveredServiceResponse]
|
1140
|
+
#
|
1141
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1142
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1143
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1144
|
+
def lookup_project_location_discovered_service(parent, uri: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1145
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/discoveredServices:lookup', options)
|
1146
|
+
command.response_representation = Google::Apis::ApphubV1alpha::LookupDiscoveredServiceResponse::Representation
|
1147
|
+
command.response_class = Google::Apis::ApphubV1alpha::LookupDiscoveredServiceResponse
|
1148
|
+
command.params['parent'] = parent unless parent.nil?
|
1149
|
+
command.query['uri'] = uri unless uri.nil?
|
1150
|
+
command.query['fields'] = fields unless fields.nil?
|
1151
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1152
|
+
execute_or_queue_command(command, &block)
|
1153
|
+
end
|
1154
|
+
|
1090
1155
|
# Finds unregistered workloads in a host project and location.
|
1091
1156
|
# @param [String] parent
|
1092
|
-
# Required.
|
1157
|
+
# Required. Project and location to find unregistered Discovered Workloads on.
|
1158
|
+
# Expected format: `projects/`project`/locations/`location``.
|
1093
1159
|
# @param [String] filter
|
1094
|
-
# Optional. Filtering results
|
1160
|
+
# Optional. Filtering results.
|
1095
1161
|
# @param [String] order_by
|
1096
|
-
# Optional. Hint for how to order the results
|
1162
|
+
# Optional. Hint for how to order the results.
|
1097
1163
|
# @param [Fixnum] page_size
|
1098
1164
|
# Optional. Requested page size. Server may return fewer items than requested.
|
1099
1165
|
# If unspecified, server will pick an appropriate default.
|
@@ -1130,9 +1196,11 @@ module Google
|
|
1130
1196
|
execute_or_queue_command(command, &block)
|
1131
1197
|
end
|
1132
1198
|
|
1133
|
-
# Gets a
|
1199
|
+
# Gets a Discovered Workload in a host project and location.
|
1134
1200
|
# @param [String] name
|
1135
|
-
# Required.
|
1201
|
+
# Required. Fully qualified name of the Discovered Workload to fetch. Expected
|
1202
|
+
# format: `projects/`project`/locations/`location`/discoveredWorkloads/`
|
1203
|
+
# discoveredWorkload``.
|
1136
1204
|
# @param [String] fields
|
1137
1205
|
# Selector specifying which fields to include in a partial response.
|
1138
1206
|
# @param [String] quota_user
|
@@ -1160,14 +1228,15 @@ module Google
|
|
1160
1228
|
execute_or_queue_command(command, &block)
|
1161
1229
|
end
|
1162
1230
|
|
1163
|
-
# Lists
|
1231
|
+
# Lists Discovered Workloads that can be added to an Application in a host
|
1164
1232
|
# project and location.
|
1165
1233
|
# @param [String] parent
|
1166
|
-
# Required.
|
1234
|
+
# Required. Project and location to list Discovered Workloads on. Expected
|
1235
|
+
# format: `projects/`project`/locations/`location``.
|
1167
1236
|
# @param [String] filter
|
1168
|
-
# Optional. Filtering results
|
1237
|
+
# Optional. Filtering results.
|
1169
1238
|
# @param [String] order_by
|
1170
|
-
# Optional. Hint for how to order the results
|
1239
|
+
# Optional. Hint for how to order the results.
|
1171
1240
|
# @param [Fixnum] page_size
|
1172
1241
|
# Optional. Requested page size. Server may return fewer items than requested.
|
1173
1242
|
# If unspecified, server will pick an appropriate default.
|
@@ -1204,6 +1273,42 @@ module Google
|
|
1204
1273
|
execute_or_queue_command(command, &block)
|
1205
1274
|
end
|
1206
1275
|
|
1276
|
+
# Lists a Discovered Workload in a host project and location, with a given
|
1277
|
+
# resource URI.
|
1278
|
+
# @param [String] parent
|
1279
|
+
# Required. Host project ID and location to lookup Discovered Workload in.
|
1280
|
+
# Expected format: `projects/`project`/locations/`location``.
|
1281
|
+
# @param [String] uri
|
1282
|
+
# Required. Resource URI to find Discovered Workload for. Accepts both project
|
1283
|
+
# number and project ID and does translation when needed.
|
1284
|
+
# @param [String] fields
|
1285
|
+
# Selector specifying which fields to include in a partial response.
|
1286
|
+
# @param [String] quota_user
|
1287
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1288
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1289
|
+
# @param [Google::Apis::RequestOptions] options
|
1290
|
+
# Request-specific options
|
1291
|
+
#
|
1292
|
+
# @yield [result, err] Result & error if block supplied
|
1293
|
+
# @yieldparam result [Google::Apis::ApphubV1alpha::LookupDiscoveredWorkloadResponse] parsed result object
|
1294
|
+
# @yieldparam err [StandardError] error object if request failed
|
1295
|
+
#
|
1296
|
+
# @return [Google::Apis::ApphubV1alpha::LookupDiscoveredWorkloadResponse]
|
1297
|
+
#
|
1298
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1299
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1300
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1301
|
+
def lookup_project_location_discovered_workload(parent, uri: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1302
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/discoveredWorkloads:lookup', options)
|
1303
|
+
command.response_representation = Google::Apis::ApphubV1alpha::LookupDiscoveredWorkloadResponse::Representation
|
1304
|
+
command.response_class = Google::Apis::ApphubV1alpha::LookupDiscoveredWorkloadResponse
|
1305
|
+
command.params['parent'] = parent unless parent.nil?
|
1306
|
+
command.query['uri'] = uri unless uri.nil?
|
1307
|
+
command.query['fields'] = fields unless fields.nil?
|
1308
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1309
|
+
execute_or_queue_command(command, &block)
|
1310
|
+
end
|
1311
|
+
|
1207
1312
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1208
1313
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1209
1314
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -1350,7 +1455,9 @@ module Google
|
|
1350
1455
|
|
1351
1456
|
# Attaches a service project to the host project.
|
1352
1457
|
# @param [String] parent
|
1353
|
-
# Required.
|
1458
|
+
# Required. Host project ID and location to which service project is being
|
1459
|
+
# attached. Only global location is supported. Expected format: `projects/`
|
1460
|
+
# project`/locations/`location``.
|
1354
1461
|
# @param [Google::Apis::ApphubV1alpha::ServiceProjectAttachment] service_project_attachment_object
|
1355
1462
|
# @param [String] request_id
|
1356
1463
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -1364,9 +1471,9 @@ module Google
|
|
1364
1471
|
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1365
1472
|
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1366
1473
|
# @param [String] service_project_attachment_id
|
1367
|
-
# Required. The service project attachment identifier must contain the
|
1368
|
-
#
|
1369
|
-
# service_project field.
|
1474
|
+
# Required. The service project attachment identifier must contain the project
|
1475
|
+
# id of the service project specified in the service_project_attachment.
|
1476
|
+
# service_project field.
|
1370
1477
|
# @param [String] fields
|
1371
1478
|
# Selector specifying which fields to include in a partial response.
|
1372
1479
|
# @param [String] quota_user
|
@@ -1398,9 +1505,11 @@ module Google
|
|
1398
1505
|
execute_or_queue_command(command, &block)
|
1399
1506
|
end
|
1400
1507
|
|
1401
|
-
# Deletes a service project
|
1508
|
+
# Deletes a service project attachment.
|
1402
1509
|
# @param [String] name
|
1403
|
-
# Required.
|
1510
|
+
# Required. Fully qualified name of the service project attachment to delete.
|
1511
|
+
# Expected format: `projects/`project`/locations/`location`/
|
1512
|
+
# serviceProjectAttachments/`serviceProjectAttachment``.
|
1404
1513
|
# @param [String] request_id
|
1405
1514
|
# Optional. An optional request ID to identify requests. Specify a unique
|
1406
1515
|
# request ID so that if you must retry your request, the server will know to
|
@@ -1440,9 +1549,11 @@ module Google
|
|
1440
1549
|
execute_or_queue_command(command, &block)
|
1441
1550
|
end
|
1442
1551
|
|
1443
|
-
# Gets a service project
|
1552
|
+
# Gets a service project attachment.
|
1444
1553
|
# @param [String] name
|
1445
|
-
# Required.
|
1554
|
+
# Required. Fully qualified name of the service project attachment to retrieve.
|
1555
|
+
# Expected format: `projects/`project`/locations/`location`/
|
1556
|
+
# serviceProjectAttachments/`serviceProjectAttachment``.
|
1446
1557
|
# @param [String] fields
|
1447
1558
|
# Selector specifying which fields to include in a partial response.
|
1448
1559
|
# @param [String] quota_user
|
@@ -1470,13 +1581,15 @@ module Google
|
|
1470
1581
|
execute_or_queue_command(command, &block)
|
1471
1582
|
end
|
1472
1583
|
|
1473
|
-
#
|
1584
|
+
# Lists service projects attached to the host project.
|
1474
1585
|
# @param [String] parent
|
1475
|
-
# Required.
|
1586
|
+
# Required. Host project ID and location to list service project attachments.
|
1587
|
+
# Only global location is supported. Expected format: `projects/`project`/
|
1588
|
+
# locations/`location``.
|
1476
1589
|
# @param [String] filter
|
1477
|
-
# Optional. Filtering results
|
1590
|
+
# Optional. Filtering results.
|
1478
1591
|
# @param [String] order_by
|
1479
|
-
# Optional. Hint for how to order the results
|
1592
|
+
# Optional. Hint for how to order the results.
|
1480
1593
|
# @param [Fixnum] page_size
|
1481
1594
|
# Optional. Requested page size. Server may return fewer items than requested.
|
1482
1595
|
# If unspecified, server will pick an appropriate default.
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.6.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-03-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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-apphub_v1alpha/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1alpha/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1alpha/v0.6.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apphub_v1alpha
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|