google-apis-apphub_v1 0.4.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: 61a0e4c9fc9041c09c4975c70745c03f0baf6308fea1f5c04da1072ab688f708
|
4
|
+
data.tar.gz: ebc0e80bce1b5920738ce5fa32c330c912d1a59d8de41f5a093a11769b670a41
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 473fa8560cadf05f96244112d223527ec849e5951dff26fc976a72cd6c7b6822150471faeb9e1f2ad3cb8bce90d290499f75573ceb9c06b91bba7edc392c5536
|
7
|
+
data.tar.gz: 9d3b699b79429d095ee4ba6644645aa9c423a907324d5272f914610c2a98fad71581f65c0cd0ff9b28a2525dbfc4aafaa4527285ed35195e97ec6507e591af61
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-apphub_v1
|
2
2
|
|
3
|
+
### v0.6.0 (2024-05-19)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.15.0
|
6
|
+
|
7
|
+
### v0.5.0 (2024-03-10)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240307
|
10
|
+
|
3
11
|
### v0.4.0 (2024-02-23)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240217
|
@@ -586,7 +586,7 @@ module Google
|
|
586
586
|
class ListDiscoveredServicesResponse
|
587
587
|
include Google::Apis::Core::Hashable
|
588
588
|
|
589
|
-
# List of
|
589
|
+
# List of Discovered Services.
|
590
590
|
# Corresponds to the JSON property `discoveredServices`
|
591
591
|
# @return [Array<Google::Apis::ApphubV1::DiscoveredService>]
|
592
592
|
attr_accessor :discovered_services
|
@@ -617,7 +617,7 @@ module Google
|
|
617
617
|
class ListDiscoveredWorkloadsResponse
|
618
618
|
include Google::Apis::Core::Hashable
|
619
619
|
|
620
|
-
# List of
|
620
|
+
# List of Discovered Workloads.
|
621
621
|
# Corresponds to the JSON property `discoveredWorkloads`
|
622
622
|
# @return [Array<Google::Apis::ApphubV1::DiscoveredWorkload>]
|
623
623
|
attr_accessor :discovered_workloads
|
@@ -834,6 +834,49 @@ module Google
|
|
834
834
|
end
|
835
835
|
end
|
836
836
|
|
837
|
+
# Response for LookupDiscoveredService.
|
838
|
+
class LookupDiscoveredServiceResponse
|
839
|
+
include Google::Apis::Core::Hashable
|
840
|
+
|
841
|
+
# DiscoveredService is a network/api interface that exposes some functionality
|
842
|
+
# to clients for consumption over the network. A discovered service can be
|
843
|
+
# registered to a App Hub service.
|
844
|
+
# Corresponds to the JSON property `discoveredService`
|
845
|
+
# @return [Google::Apis::ApphubV1::DiscoveredService]
|
846
|
+
attr_accessor :discovered_service
|
847
|
+
|
848
|
+
def initialize(**args)
|
849
|
+
update!(**args)
|
850
|
+
end
|
851
|
+
|
852
|
+
# Update properties of this object
|
853
|
+
def update!(**args)
|
854
|
+
@discovered_service = args[:discovered_service] if args.key?(:discovered_service)
|
855
|
+
end
|
856
|
+
end
|
857
|
+
|
858
|
+
# Response for LookupDiscoveredWorkload.
|
859
|
+
class LookupDiscoveredWorkloadResponse
|
860
|
+
include Google::Apis::Core::Hashable
|
861
|
+
|
862
|
+
# DiscoveredWorkload is a binary deployment (such as managed instance groups (
|
863
|
+
# MIGs) and GKE deployments) that performs the smallest logical subset of
|
864
|
+
# business functionality. A discovered workload can be registered to an App Hub
|
865
|
+
# Workload.
|
866
|
+
# Corresponds to the JSON property `discoveredWorkload`
|
867
|
+
# @return [Google::Apis::ApphubV1::DiscoveredWorkload]
|
868
|
+
attr_accessor :discovered_workload
|
869
|
+
|
870
|
+
def initialize(**args)
|
871
|
+
update!(**args)
|
872
|
+
end
|
873
|
+
|
874
|
+
# Update properties of this object
|
875
|
+
def update!(**args)
|
876
|
+
@discovered_workload = args[:discovered_workload] if args.key?(:discovered_workload)
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
837
880
|
# Response for LookupServiceProjectAttachment.
|
838
881
|
class LookupServiceProjectAttachmentResponse
|
839
882
|
include Google::Apis::Core::Hashable
|
@@ -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.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.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
|
@@ -166,6 +166,18 @@ module Google
|
|
166
166
|
include Google::Apis::Core::JsonObjectSupport
|
167
167
|
end
|
168
168
|
|
169
|
+
class LookupDiscoveredServiceResponse
|
170
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
+
|
172
|
+
include Google::Apis::Core::JsonObjectSupport
|
173
|
+
end
|
174
|
+
|
175
|
+
class LookupDiscoveredWorkloadResponse
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
169
181
|
class LookupServiceProjectAttachmentResponse
|
170
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
183
|
|
@@ -495,6 +507,22 @@ module Google
|
|
495
507
|
end
|
496
508
|
end
|
497
509
|
|
510
|
+
class LookupDiscoveredServiceResponse
|
511
|
+
# @private
|
512
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
513
|
+
property :discovered_service, as: 'discoveredService', class: Google::Apis::ApphubV1::DiscoveredService, decorator: Google::Apis::ApphubV1::DiscoveredService::Representation
|
514
|
+
|
515
|
+
end
|
516
|
+
end
|
517
|
+
|
518
|
+
class LookupDiscoveredWorkloadResponse
|
519
|
+
# @private
|
520
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
521
|
+
property :discovered_workload, as: 'discoveredWorkload', class: Google::Apis::ApphubV1::DiscoveredWorkload, decorator: Google::Apis::ApphubV1::DiscoveredWorkload::Representation
|
522
|
+
|
523
|
+
end
|
524
|
+
end
|
525
|
+
|
498
526
|
class LookupServiceProjectAttachmentResponse
|
499
527
|
# @private
|
500
528
|
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::ApphubV1::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::ApphubV1::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::ApphubV1::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::ApphubV1::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.
|
@@ -970,9 +995,11 @@ module Google
|
|
970
995
|
execute_or_queue_command(command, &block)
|
971
996
|
end
|
972
997
|
|
973
|
-
# Gets a
|
998
|
+
# Gets a Discovered Service in a host project and location.
|
974
999
|
# @param [String] name
|
975
|
-
# Required.
|
1000
|
+
# Required. Fully qualified name of the Discovered Service to fetch. Expected
|
1001
|
+
# format: `projects/`project`/locations/`location`/discoveredServices/`
|
1002
|
+
# discoveredService``.
|
976
1003
|
# @param [String] fields
|
977
1004
|
# Selector specifying which fields to include in a partial response.
|
978
1005
|
# @param [String] quota_user
|
@@ -1000,14 +1027,15 @@ module Google
|
|
1000
1027
|
execute_or_queue_command(command, &block)
|
1001
1028
|
end
|
1002
1029
|
|
1003
|
-
# Lists
|
1030
|
+
# Lists Discovered Services that can be added to an Application in a host
|
1004
1031
|
# project and location.
|
1005
1032
|
# @param [String] parent
|
1006
|
-
# Required.
|
1033
|
+
# Required. Project and location to list Discovered Services on. Expected format:
|
1034
|
+
# `projects/`project`/locations/`location``.
|
1007
1035
|
# @param [String] filter
|
1008
|
-
# Optional. Filtering results
|
1036
|
+
# Optional. Filtering results.
|
1009
1037
|
# @param [String] order_by
|
1010
|
-
# Optional. Hint for how to order the results
|
1038
|
+
# Optional. Hint for how to order the results.
|
1011
1039
|
# @param [Fixnum] page_size
|
1012
1040
|
# Optional. Requested page size. Server may return fewer items than requested.
|
1013
1041
|
# If unspecified, server will pick an appropriate default.
|
@@ -1044,9 +1072,47 @@ module Google
|
|
1044
1072
|
execute_or_queue_command(command, &block)
|
1045
1073
|
end
|
1046
1074
|
|
1047
|
-
#
|
1075
|
+
# Lists a Discovered Service in a host project and location, with a given
|
1076
|
+
# resource URI.
|
1077
|
+
# @param [String] parent
|
1078
|
+
# Required. Host project ID and location to lookup Discovered Service in.
|
1079
|
+
# Expected format: `projects/`project`/locations/`location``.
|
1080
|
+
# @param [String] uri
|
1081
|
+
# Required. Resource URI to find DiscoveredService for. Accepts both project
|
1082
|
+
# number and project ID and does translation when needed.
|
1083
|
+
# @param [String] fields
|
1084
|
+
# Selector specifying which fields to include in a partial response.
|
1085
|
+
# @param [String] quota_user
|
1086
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1087
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1088
|
+
# @param [Google::Apis::RequestOptions] options
|
1089
|
+
# Request-specific options
|
1090
|
+
#
|
1091
|
+
# @yield [result, err] Result & error if block supplied
|
1092
|
+
# @yieldparam result [Google::Apis::ApphubV1::LookupDiscoveredServiceResponse] parsed result object
|
1093
|
+
# @yieldparam err [StandardError] error object if request failed
|
1094
|
+
#
|
1095
|
+
# @return [Google::Apis::ApphubV1::LookupDiscoveredServiceResponse]
|
1096
|
+
#
|
1097
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1098
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1099
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1100
|
+
def lookup_project_location_discovered_service(parent, uri: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1101
|
+
command = make_simple_command(:get, 'v1/{+parent}/discoveredServices:lookup', options)
|
1102
|
+
command.response_representation = Google::Apis::ApphubV1::LookupDiscoveredServiceResponse::Representation
|
1103
|
+
command.response_class = Google::Apis::ApphubV1::LookupDiscoveredServiceResponse
|
1104
|
+
command.params['parent'] = parent unless parent.nil?
|
1105
|
+
command.query['uri'] = uri unless uri.nil?
|
1106
|
+
command.query['fields'] = fields unless fields.nil?
|
1107
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1108
|
+
execute_or_queue_command(command, &block)
|
1109
|
+
end
|
1110
|
+
|
1111
|
+
# Gets a Discovered Workload in a host project and location.
|
1048
1112
|
# @param [String] name
|
1049
|
-
# Required.
|
1113
|
+
# Required. Fully qualified name of the Discovered Workload to fetch. Expected
|
1114
|
+
# format: `projects/`project`/locations/`location`/discoveredWorkloads/`
|
1115
|
+
# discoveredWorkload``.
|
1050
1116
|
# @param [String] fields
|
1051
1117
|
# Selector specifying which fields to include in a partial response.
|
1052
1118
|
# @param [String] quota_user
|
@@ -1074,14 +1140,15 @@ module Google
|
|
1074
1140
|
execute_or_queue_command(command, &block)
|
1075
1141
|
end
|
1076
1142
|
|
1077
|
-
# Lists
|
1143
|
+
# Lists Discovered Workloads that can be added to an Application in a host
|
1078
1144
|
# project and location.
|
1079
1145
|
# @param [String] parent
|
1080
|
-
# Required.
|
1146
|
+
# Required. Project and location to list Discovered Workloads on. Expected
|
1147
|
+
# format: `projects/`project`/locations/`location``.
|
1081
1148
|
# @param [String] filter
|
1082
|
-
# Optional. Filtering results
|
1149
|
+
# Optional. Filtering results.
|
1083
1150
|
# @param [String] order_by
|
1084
|
-
# Optional. Hint for how to order the results
|
1151
|
+
# Optional. Hint for how to order the results.
|
1085
1152
|
# @param [Fixnum] page_size
|
1086
1153
|
# Optional. Requested page size. Server may return fewer items than requested.
|
1087
1154
|
# If unspecified, server will pick an appropriate default.
|
@@ -1118,6 +1185,42 @@ module Google
|
|
1118
1185
|
execute_or_queue_command(command, &block)
|
1119
1186
|
end
|
1120
1187
|
|
1188
|
+
# Lists a Discovered Workload in a host project and location, with a given
|
1189
|
+
# resource URI.
|
1190
|
+
# @param [String] parent
|
1191
|
+
# Required. Host project ID and location to lookup Discovered Workload in.
|
1192
|
+
# Expected format: `projects/`project`/locations/`location``.
|
1193
|
+
# @param [String] uri
|
1194
|
+
# Required. Resource URI to find Discovered Workload for. Accepts both project
|
1195
|
+
# number and project ID and does translation when needed.
|
1196
|
+
# @param [String] fields
|
1197
|
+
# Selector specifying which fields to include in a partial response.
|
1198
|
+
# @param [String] quota_user
|
1199
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1200
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1201
|
+
# @param [Google::Apis::RequestOptions] options
|
1202
|
+
# Request-specific options
|
1203
|
+
#
|
1204
|
+
# @yield [result, err] Result & error if block supplied
|
1205
|
+
# @yieldparam result [Google::Apis::ApphubV1::LookupDiscoveredWorkloadResponse] parsed result object
|
1206
|
+
# @yieldparam err [StandardError] error object if request failed
|
1207
|
+
#
|
1208
|
+
# @return [Google::Apis::ApphubV1::LookupDiscoveredWorkloadResponse]
|
1209
|
+
#
|
1210
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1211
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1212
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1213
|
+
def lookup_project_location_discovered_workload(parent, uri: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1214
|
+
command = make_simple_command(:get, 'v1/{+parent}/discoveredWorkloads:lookup', options)
|
1215
|
+
command.response_representation = Google::Apis::ApphubV1::LookupDiscoveredWorkloadResponse::Representation
|
1216
|
+
command.response_class = Google::Apis::ApphubV1::LookupDiscoveredWorkloadResponse
|
1217
|
+
command.params['parent'] = parent unless parent.nil?
|
1218
|
+
command.query['uri'] = uri unless uri.nil?
|
1219
|
+
command.query['fields'] = fields unless fields.nil?
|
1220
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1221
|
+
execute_or_queue_command(command, &block)
|
1222
|
+
end
|
1223
|
+
|
1121
1224
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1122
1225
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1123
1226
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
@@ -1264,7 +1367,9 @@ module Google
|
|
1264
1367
|
|
1265
1368
|
# Attaches a service project to the host project.
|
1266
1369
|
# @param [String] parent
|
1267
|
-
# Required.
|
1370
|
+
# Required. Host project ID and location to which service project is being
|
1371
|
+
# attached. Only global location is supported. Expected format: `projects/`
|
1372
|
+
# project`/locations/`location``.
|
1268
1373
|
# @param [Google::Apis::ApphubV1::ServiceProjectAttachment] service_project_attachment_object
|
1269
1374
|
# @param [String] request_id
|
1270
1375
|
# Optional. An optional request ID to identify requests. Specify a unique
|
@@ -1278,9 +1383,9 @@ module Google
|
|
1278
1383
|
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1279
1384
|
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1280
1385
|
# @param [String] service_project_attachment_id
|
1281
|
-
# Required. The service project attachment identifier must contain the
|
1282
|
-
#
|
1283
|
-
# service_project field.
|
1386
|
+
# Required. The service project attachment identifier must contain the project
|
1387
|
+
# id of the service project specified in the service_project_attachment.
|
1388
|
+
# service_project field.
|
1284
1389
|
# @param [String] fields
|
1285
1390
|
# Selector specifying which fields to include in a partial response.
|
1286
1391
|
# @param [String] quota_user
|
@@ -1312,9 +1417,11 @@ module Google
|
|
1312
1417
|
execute_or_queue_command(command, &block)
|
1313
1418
|
end
|
1314
1419
|
|
1315
|
-
# Deletes a service project
|
1420
|
+
# Deletes a service project attachment.
|
1316
1421
|
# @param [String] name
|
1317
|
-
# Required.
|
1422
|
+
# Required. Fully qualified name of the service project attachment to delete.
|
1423
|
+
# Expected format: `projects/`project`/locations/`location`/
|
1424
|
+
# serviceProjectAttachments/`serviceProjectAttachment``.
|
1318
1425
|
# @param [String] request_id
|
1319
1426
|
# Optional. An optional request ID to identify requests. Specify a unique
|
1320
1427
|
# request ID so that if you must retry your request, the server will know to
|
@@ -1354,9 +1461,11 @@ module Google
|
|
1354
1461
|
execute_or_queue_command(command, &block)
|
1355
1462
|
end
|
1356
1463
|
|
1357
|
-
# Gets a service project
|
1464
|
+
# Gets a service project attachment.
|
1358
1465
|
# @param [String] name
|
1359
|
-
# Required.
|
1466
|
+
# Required. Fully qualified name of the service project attachment to retrieve.
|
1467
|
+
# Expected format: `projects/`project`/locations/`location`/
|
1468
|
+
# serviceProjectAttachments/`serviceProjectAttachment``.
|
1360
1469
|
# @param [String] fields
|
1361
1470
|
# Selector specifying which fields to include in a partial response.
|
1362
1471
|
# @param [String] quota_user
|
@@ -1384,13 +1493,15 @@ module Google
|
|
1384
1493
|
execute_or_queue_command(command, &block)
|
1385
1494
|
end
|
1386
1495
|
|
1387
|
-
#
|
1496
|
+
# Lists service projects attached to the host project.
|
1388
1497
|
# @param [String] parent
|
1389
|
-
# Required.
|
1498
|
+
# Required. Host project ID and location to list service project attachments.
|
1499
|
+
# Only global location is supported. Expected format: `projects/`project`/
|
1500
|
+
# locations/`location``.
|
1390
1501
|
# @param [String] filter
|
1391
|
-
# Optional. Filtering results
|
1502
|
+
# Optional. Filtering results.
|
1392
1503
|
# @param [String] order_by
|
1393
|
-
# Optional. Hint for how to order the results
|
1504
|
+
# Optional. Hint for how to order the results.
|
1394
1505
|
# @param [Fixnum] page_size
|
1395
1506
|
# Optional. Requested page size. Server may return fewer items than requested.
|
1396
1507
|
# 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_v1
|
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-05-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apphub_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1/v0.6.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-apphub_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|