google-apis-apphub_v1alpha 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: 16b47118c3ca33fe9393cc209c450d05383ae6cc5da9be1d4810a0e34aeff633
4
- data.tar.gz: 44a21bae54923a450428453c77333239c1c3228c6934302776cee78d105b341d
3
+ metadata.gz: 0e809dec6a8822b72c61c25652aef94e5f3c453100c9ca19e15373e6015dd067
4
+ data.tar.gz: baf9928a5a6abeea22ec7e935d00ad4907f02348627fd5607a94924609c4b6a0
5
5
  SHA512:
6
- metadata.gz: 02d993185e101196a61c9595b7be499624317d57c58cc8c34ae8ddf05a67279e80f37d97636492f2c77795faed1e6f1ec92a82ded849f3af4351939c0fb20663
7
- data.tar.gz: 7def99a639d07c7445dee4d9e13729d348ebabf09540565f616698f4c2867a1d6d6d3afe6ce2adb811d32a2b9c107b7f6581412532f9e5024a4247b52914ca3c
6
+ metadata.gz: 24e8ebd0d7af8a2b839e66e3e369beea2baffbc2b0ddf09a229262546dd497fda358dfe5e516d9b45586aaa0e7f7a3b4d05d2bd5fee4493d78a7582e731e4ced
7
+ data.tar.gz: 885474d50e6748a8db35aaeacfa563f442e0ca8eeb645776293725e2f05f3ec78e65aff34234c97be8771c6f5cd4ba82f7462919198345bef1e62aa0d114a7be
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.5.0 (2024-02-23)
9
+
10
+ * Regenerated from discovery document revision 20240217
11
+
3
12
  ### v0.4.0 (2024-02-18)
4
13
 
5
14
  * Regenerated from discovery document revision 20240211
data/OVERVIEW.md CHANGED
@@ -83,9 +83,9 @@ 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 2.5+.
86
+ This library is supported on Ruby 2.7+.
87
87
 
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. Currently, this means Ruby 2.5 and later. 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.
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
 
90
90
  ## License
91
91
 
@@ -38,12 +38,14 @@ module Google
38
38
  # @return [String]
39
39
  attr_accessor :create_time
40
40
 
41
- # Optional. User-defined description of an Application.
41
+ # Optional. User-defined description of an Application. Can have a maximum
42
+ # length of 2048 characters.
42
43
  # Corresponds to the JSON property `description`
43
44
  # @return [String]
44
45
  attr_accessor :description
45
46
 
46
- # Optional. User-defined name for the Application.
47
+ # Optional. User-defined name for the Application. Can have a maximum length of
48
+ # 63 characters.
47
49
  # Corresponds to the JSON property `displayName`
48
50
  # @return [String]
49
51
  attr_accessor :display_name
@@ -349,7 +351,7 @@ module Google
349
351
  # @return [Google::Apis::ApphubV1alpha::Channel]
350
352
  attr_accessor :channel
351
353
 
352
- # Optional. Contact's name.
354
+ # Optional. Contact's name. Can have a maximum length of 63 characters.
353
355
  # Corresponds to the JSON property `displayName`
354
356
  # @return [String]
355
357
  attr_accessor :display_name
@@ -375,17 +377,24 @@ module Google
375
377
  class Criticality
376
378
  include Google::Apis::Core::Hashable
377
379
 
378
- # Required. Criticality level.
380
+ # Optional. Criticality level. Can contain only lowercase letters, numeric
381
+ # characters, underscores, and dashes. Can have a maximum length of 63
382
+ # characters.
379
383
  # Corresponds to the JSON property `level`
380
384
  # @return [String]
381
385
  attr_accessor :level
382
386
 
383
- # Required. Indicates mission-critical Application, Service, or Workload.
387
+ # Optional. Indicates mission-critical Application, Service, or Workload.
384
388
  # Corresponds to the JSON property `missionCritical`
385
389
  # @return [Boolean]
386
390
  attr_accessor :mission_critical
387
391
  alias_method :mission_critical?, :mission_critical
388
392
 
393
+ # Required. Criticality Type.
394
+ # Corresponds to the JSON property `type`
395
+ # @return [String]
396
+ attr_accessor :type
397
+
389
398
  def initialize(**args)
390
399
  update!(**args)
391
400
  end
@@ -394,6 +403,7 @@ module Google
394
403
  def update!(**args)
395
404
  @level = args[:level] if args.key?(:level)
396
405
  @mission_critical = args[:mission_critical] if args.key?(:mission_critical)
406
+ @type = args[:type] if args.key?(:type)
397
407
  end
398
408
  end
399
409
 
@@ -512,11 +522,18 @@ module Google
512
522
  class Environment
513
523
  include Google::Apis::Core::Hashable
514
524
 
515
- # Required. Environment name.
525
+ # Optional. Environment name. Can contain only lowercase letters, numeric
526
+ # characters, underscores, and dashes. Can have a maximum length of 63
527
+ # characters.
516
528
  # Corresponds to the JSON property `environment`
517
529
  # @return [String]
518
530
  attr_accessor :environment
519
531
 
532
+ # Required. Environment Type.
533
+ # Corresponds to the JSON property `type`
534
+ # @return [String]
535
+ attr_accessor :type
536
+
520
537
  def initialize(**args)
521
538
  update!(**args)
522
539
  end
@@ -524,6 +541,7 @@ module Google
524
541
  # Update properties of this object
525
542
  def update!(**args)
526
543
  @environment = args[:environment] if args.key?(:environment)
544
+ @type = args[:type] if args.key?(:type)
527
545
  end
528
546
  end
529
547
 
@@ -585,7 +603,7 @@ module Google
585
603
  class FindUnregisteredServicesResponse
586
604
  include Google::Apis::Core::Hashable
587
605
 
588
- # List of discovered services.
606
+ # List of Discovered Services.
589
607
  # Corresponds to the JSON property `discoveredServices`
590
608
  # @return [Array<Google::Apis::ApphubV1alpha::DiscoveredService>]
591
609
  attr_accessor :discovered_services
@@ -616,7 +634,7 @@ module Google
616
634
  class FindUnregisteredWorkloadsResponse
617
635
  include Google::Apis::Core::Hashable
618
636
 
619
- # List of discovered workloads.
637
+ # List of Discovered Workloads.
620
638
  # Corresponds to the JSON property `discoveredWorkloads`
621
639
  # @return [Array<Google::Apis::ApphubV1alpha::DiscoveredWorkload>]
622
640
  attr_accessor :discovered_workloads
@@ -678,7 +696,7 @@ module Google
678
696
  class ListDiscoveredServicesResponse
679
697
  include Google::Apis::Core::Hashable
680
698
 
681
- # List of discovered services.
699
+ # List of Discovered Services.
682
700
  # Corresponds to the JSON property `discoveredServices`
683
701
  # @return [Array<Google::Apis::ApphubV1alpha::DiscoveredService>]
684
702
  attr_accessor :discovered_services
@@ -709,7 +727,7 @@ module Google
709
727
  class ListDiscoveredWorkloadsResponse
710
728
  include Google::Apis::Core::Hashable
711
729
 
712
- # List of discovered workloads.
730
+ # List of Discovered Workloads.
713
731
  # Corresponds to the JSON property `discoveredWorkloads`
714
732
  # @return [Array<Google::Apis::ApphubV1alpha::DiscoveredWorkload>]
715
733
  attr_accessor :discovered_workloads
@@ -926,6 +944,49 @@ module Google
926
944
  end
927
945
  end
928
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
+
929
990
  # Response for LookupServiceProjectAttachment.
930
991
  class LookupServiceProjectAttachmentResponse
931
992
  include Google::Apis::Core::Hashable
@@ -1200,7 +1261,8 @@ module Google
1200
1261
  # @return [String]
1201
1262
  attr_accessor :create_time
1202
1263
 
1203
- # Optional. User-defined description of a Service.
1264
+ # Optional. User-defined description of a Service. Can have a maximum length of
1265
+ # 2048 characters.
1204
1266
  # Corresponds to the JSON property `description`
1205
1267
  # @return [String]
1206
1268
  attr_accessor :description
@@ -1210,7 +1272,8 @@ module Google
1210
1272
  # @return [String]
1211
1273
  attr_accessor :discovered_service
1212
1274
 
1213
- # Optional. User-defined name for the Service.
1275
+ # Optional. User-defined name for the Service. Can have a maximum length of 63
1276
+ # characters.
1214
1277
  # Corresponds to the JSON property `displayName`
1215
1278
  # @return [String]
1216
1279
  attr_accessor :display_name
@@ -1530,7 +1593,8 @@ module Google
1530
1593
  # @return [String]
1531
1594
  attr_accessor :create_time
1532
1595
 
1533
- # Optional. User-defined description of a Workload.
1596
+ # Optional. User-defined description of a Workload. Can have a maximum length of
1597
+ # 2048 characters.
1534
1598
  # Corresponds to the JSON property `description`
1535
1599
  # @return [String]
1536
1600
  attr_accessor :description
@@ -1540,7 +1604,8 @@ module Google
1540
1604
  # @return [String]
1541
1605
  attr_accessor :discovered_workload
1542
1606
 
1543
- # Optional. User-defined name for the Workload.
1607
+ # Optional. User-defined name for the Workload. Can have a maximum length of 63
1608
+ # characters.
1544
1609
  # Corresponds to the JSON property `displayName`
1545
1610
  # @return [String]
1546
1611
  attr_accessor :display_name
@@ -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.4.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.13.1"
22
+ GENERATOR_VERSION = "0.14.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240211"
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
 
@@ -368,6 +380,7 @@ module Google
368
380
  class Representation < Google::Apis::Core::JsonRepresentation
369
381
  property :level, as: 'level'
370
382
  property :mission_critical, as: 'missionCritical'
383
+ property :type, as: 'type'
371
384
  end
372
385
  end
373
386
 
@@ -415,6 +428,7 @@ module Google
415
428
  # @private
416
429
  class Representation < Google::Apis::Core::JsonRepresentation
417
430
  property :environment, as: 'environment'
431
+ property :type, as: 'type'
418
432
  end
419
433
  end
420
434
 
@@ -537,6 +551,22 @@ module Google
537
551
  end
538
552
  end
539
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
+
540
570
  class LookupServiceProjectAttachmentResponse
541
571
  # @private
542
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
- # either a host or service project.
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. Value for name.
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
- # Looks up a service project attachment. You can call this API from either a
162
- # host or service project.
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. Value for name.
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,10 +196,13 @@ module Google
191
196
 
192
197
  # Creates an Application in a host project and location.
193
198
  # @param [String] parent
194
- # Required. Value for parent.
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
- # Required. The Application identifier.
203
+ # Required. The Application identifier. Must contain only lowercase letters,
204
+ # numbers or hyphens, with the first character a letter, the last a letter or a
205
+ # number, and a 63 character maximum.
198
206
  # @param [String] request_id
199
207
  # Optional. An optional request ID to identify requests. Specify a unique
200
208
  # request ID so that if you must retry your request, the server will know to
@@ -239,7 +247,8 @@ module Google
239
247
 
240
248
  # Deletes an Application in a host project and location.
241
249
  # @param [String] name
242
- # Required. Value for name.
250
+ # Required. Fully qualified name of the Application to delete. Expected format: `
251
+ # projects/`project`/locations/`location`/applications/`application``.
243
252
  # @param [String] request_id
244
253
  # Optional. An optional request ID to identify requests. Specify a unique
245
254
  # request ID so that if you must retry your request, the server will know to
@@ -281,7 +290,8 @@ module Google
281
290
 
282
291
  # Gets an Application in a host project and location.
283
292
  # @param [String] name
284
- # Required. Value for name.
293
+ # Required. Fully qualified name of the Application to fetch. Expected format: `
294
+ # projects/`project`/locations/`location`/applications/`application``.
285
295
  # @param [String] fields
286
296
  # Selector specifying which fields to include in a partial response.
287
297
  # @param [String] quota_user
@@ -356,11 +366,12 @@ module Google
356
366
 
357
367
  # Lists Applications in a host project and location.
358
368
  # @param [String] parent
359
- # Required. Value for parent.
369
+ # Required. Project and location to list Applications on. Expected format: `
370
+ # projects/`project`/locations/`location``.
360
371
  # @param [String] filter
361
- # Optional. Filtering results
372
+ # Optional. Filtering results.
362
373
  # @param [String] order_by
363
- # Optional. Hint for how to order the results
374
+ # Optional. Hint for how to order the results.
364
375
  # @param [Fixnum] page_size
365
376
  # Optional. Requested page size. Server may return fewer items than requested.
366
377
  # If unspecified, server will pick an appropriate default.
@@ -530,7 +541,9 @@ module Google
530
541
 
531
542
  # Creates a Service in an Application.
532
543
  # @param [String] parent
533
- # Required. Value for parent.
544
+ # Required. Fully qualified name of the parent Application to create the Service
545
+ # in. Expected format: `projects/`project`/locations/`location`/applications/`
546
+ # application``.
534
547
  # @param [Google::Apis::ApphubV1alpha::Service] service_object
535
548
  # @param [String] request_id
536
549
  # Optional. An optional request ID to identify requests. Specify a unique
@@ -544,7 +557,9 @@ module Google
544
557
  # duplicate commitments. The request ID must be a valid UUID with the exception
545
558
  # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
546
559
  # @param [String] service_id
547
- # Required. The Service identifier.
560
+ # Required. The Service identifier. Must contain only lowercase letters, numbers
561
+ # or hyphens, with the first character a letter, the last a letter or a number,
562
+ # and a 63 character maximum.
548
563
  # @param [String] fields
549
564
  # Selector specifying which fields to include in a partial response.
550
565
  # @param [String] quota_user
@@ -576,9 +591,11 @@ module Google
576
591
  execute_or_queue_command(command, &block)
577
592
  end
578
593
 
579
- # Deletes a Service in an Application.
594
+ # Deletes a Service from an Application.
580
595
  # @param [String] name
581
- # Required. Value for name.
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``.
582
599
  # @param [String] request_id
583
600
  # Optional. An optional request ID to identify requests. Specify a unique
584
601
  # request ID so that if you must retry your request, the server will know to
@@ -620,7 +637,9 @@ module Google
620
637
 
621
638
  # Gets a Service in an Application.
622
639
  # @param [String] name
623
- # Required. Value for name.
640
+ # Required. Fully qualified name of the Service to fetch. Expected format: `
641
+ # projects/`project`/locations/`location`/applications/`application`/services/`
642
+ # service``.
624
643
  # @param [String] fields
625
644
  # Selector specifying which fields to include in a partial response.
626
645
  # @param [String] quota_user
@@ -648,9 +667,11 @@ module Google
648
667
  execute_or_queue_command(command, &block)
649
668
  end
650
669
 
651
- # List Services in an Application.
670
+ # Lists Services in an Application.
652
671
  # @param [String] parent
653
- # Required. Value for parent.
672
+ # Required. Fully qualified name of the parent Application to list Services for.
673
+ # Expected format: `projects/`project`/locations/`location`/applications/`
674
+ # application``.
654
675
  # @param [String] filter
655
676
  # Optional. Filtering results
656
677
  # @param [String] order_by
@@ -748,7 +769,9 @@ module Google
748
769
 
749
770
  # Creates a Workload in an Application.
750
771
  # @param [String] parent
751
- # Required. Value for parent.
772
+ # Required. Fully qualified name of the Application to create Workload in.
773
+ # Expected format: `projects/`project`/locations/`location`/applications/`
774
+ # application``.
752
775
  # @param [Google::Apis::ApphubV1alpha::Workload] workload_object
753
776
  # @param [String] request_id
754
777
  # Optional. An optional request ID to identify requests. Specify a unique
@@ -762,7 +785,9 @@ module Google
762
785
  # duplicate commitments. The request ID must be a valid UUID with the exception
763
786
  # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
764
787
  # @param [String] workload_id
765
- # Required. The Workload identifier.
788
+ # Required. The Workload identifier. Must contain only lowercase letters,
789
+ # numbers or hyphens, with the first character a letter, the last a letter or a
790
+ # number, and a 63 character maximum.
766
791
  # @param [String] fields
767
792
  # Selector specifying which fields to include in a partial response.
768
793
  # @param [String] quota_user
@@ -794,9 +819,11 @@ module Google
794
819
  execute_or_queue_command(command, &block)
795
820
  end
796
821
 
797
- # Deletes a Workload in an Application.
822
+ # Deletes a Workload from an Application.
798
823
  # @param [String] name
799
- # Required. Value for name.
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``.
800
827
  # @param [String] request_id
801
828
  # Optional. An optional request ID to identify requests. Specify a unique
802
829
  # request ID so that if you must retry your request, the server will know to
@@ -838,7 +865,9 @@ module Google
838
865
 
839
866
  # Gets a Workload in an Application.
840
867
  # @param [String] name
841
- # Required. Value for name.
868
+ # Required. Fully qualified name of the Workload to fetch. Expected format: `
869
+ # projects/`project`/locations/`location`/applications/`application`/workloads/`
870
+ # workload``.
842
871
  # @param [String] fields
843
872
  # Selector specifying which fields to include in a partial response.
844
873
  # @param [String] quota_user
@@ -868,11 +897,13 @@ module Google
868
897
 
869
898
  # Lists Workloads in an Application.
870
899
  # @param [String] parent
871
- # Required. Value for parent.
900
+ # Required. Fully qualified name of the parent Application to list Workloads for.
901
+ # Expected format: `projects/`project`/locations/`location`/applications/`
902
+ # application``.
872
903
  # @param [String] filter
873
- # Optional. Filtering results
904
+ # Optional. Filtering results.
874
905
  # @param [String] order_by
875
- # Optional. Hint for how to order the results
906
+ # Optional. Hint for how to order the results.
876
907
  # @param [Fixnum] page_size
877
908
  # Optional. Requested page size. Server may return fewer items than requested.
878
909
  # If unspecified, server will pick an appropriate default.
@@ -966,11 +997,12 @@ module Google
966
997
 
967
998
  # Finds unregistered services in a host project and location.
968
999
  # @param [String] parent
969
- # Required. Value for parent.
1000
+ # Required. Project and location to find unregistered Discovered Services on.
1001
+ # Expected format: `projects/`project`/locations/`location``.
970
1002
  # @param [String] filter
971
- # Optional. Filtering results
1003
+ # Optional. Filtering results.
972
1004
  # @param [String] order_by
973
- # Optional. Hint for how to order the results
1005
+ # Optional. Hint for how to order the results.
974
1006
  # @param [Fixnum] page_size
975
1007
  # Optional. Requested page size. Server may return fewer items than requested.
976
1008
  # If unspecified, server will pick an appropriate default.
@@ -1007,9 +1039,11 @@ module Google
1007
1039
  execute_or_queue_command(command, &block)
1008
1040
  end
1009
1041
 
1010
- # Gets a discovered service in a host project and location.
1042
+ # Gets a Discovered Service in a host project and location.
1011
1043
  # @param [String] name
1012
- # Required. Value for name.
1044
+ # Required. Fully qualified name of the Discovered Service to fetch. Expected
1045
+ # format: `projects/`project`/locations/`location`/discoveredServices/`
1046
+ # discoveredService``.
1013
1047
  # @param [String] fields
1014
1048
  # Selector specifying which fields to include in a partial response.
1015
1049
  # @param [String] quota_user
@@ -1037,13 +1071,15 @@ module Google
1037
1071
  execute_or_queue_command(command, &block)
1038
1072
  end
1039
1073
 
1040
- # Lists discovered services in a host project and location.
1074
+ # Lists Discovered Services that can be added to an Application in a host
1075
+ # project and location.
1041
1076
  # @param [String] parent
1042
- # Required. Value for parent.
1077
+ # Required. Project and location to list Discovered Services on. Expected format:
1078
+ # `projects/`project`/locations/`location``.
1043
1079
  # @param [String] filter
1044
- # Optional. Filtering results
1080
+ # Optional. Filtering results.
1045
1081
  # @param [String] order_by
1046
- # Optional. Hint for how to order the results
1082
+ # Optional. Hint for how to order the results.
1047
1083
  # @param [Fixnum] page_size
1048
1084
  # Optional. Requested page size. Server may return fewer items than requested.
1049
1085
  # If unspecified, server will pick an appropriate default.
@@ -1080,13 +1116,50 @@ module Google
1080
1116
  execute_or_queue_command(command, &block)
1081
1117
  end
1082
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
+
1083
1155
  # Finds unregistered workloads in a host project and location.
1084
1156
  # @param [String] parent
1085
- # Required. Value for parent.
1157
+ # Required. Project and location to find unregistered Discovered Workloads on.
1158
+ # Expected format: `projects/`project`/locations/`location``.
1086
1159
  # @param [String] filter
1087
- # Optional. Filtering results
1160
+ # Optional. Filtering results.
1088
1161
  # @param [String] order_by
1089
- # Optional. Hint for how to order the results
1162
+ # Optional. Hint for how to order the results.
1090
1163
  # @param [Fixnum] page_size
1091
1164
  # Optional. Requested page size. Server may return fewer items than requested.
1092
1165
  # If unspecified, server will pick an appropriate default.
@@ -1123,9 +1196,11 @@ module Google
1123
1196
  execute_or_queue_command(command, &block)
1124
1197
  end
1125
1198
 
1126
- # Gets a discovered workload in a host project and location.
1199
+ # Gets a Discovered Workload in a host project and location.
1127
1200
  # @param [String] name
1128
- # Required. Value for name.
1201
+ # Required. Fully qualified name of the Discovered Workload to fetch. Expected
1202
+ # format: `projects/`project`/locations/`location`/discoveredWorkloads/`
1203
+ # discoveredWorkload``.
1129
1204
  # @param [String] fields
1130
1205
  # Selector specifying which fields to include in a partial response.
1131
1206
  # @param [String] quota_user
@@ -1153,13 +1228,15 @@ module Google
1153
1228
  execute_or_queue_command(command, &block)
1154
1229
  end
1155
1230
 
1156
- # Lists discovered workloads in a host project and location.
1231
+ # Lists Discovered Workloads that can be added to an Application in a host
1232
+ # project and location.
1157
1233
  # @param [String] parent
1158
- # Required. Value for parent.
1234
+ # Required. Project and location to list Discovered Workloads on. Expected
1235
+ # format: `projects/`project`/locations/`location``.
1159
1236
  # @param [String] filter
1160
- # Optional. Filtering results
1237
+ # Optional. Filtering results.
1161
1238
  # @param [String] order_by
1162
- # Optional. Hint for how to order the results
1239
+ # Optional. Hint for how to order the results.
1163
1240
  # @param [Fixnum] page_size
1164
1241
  # Optional. Requested page size. Server may return fewer items than requested.
1165
1242
  # If unspecified, server will pick an appropriate default.
@@ -1196,6 +1273,42 @@ module Google
1196
1273
  execute_or_queue_command(command, &block)
1197
1274
  end
1198
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
+
1199
1312
  # Starts asynchronous cancellation on a long-running operation. The server makes
1200
1313
  # a best effort to cancel the operation, but success is not guaranteed. If the
1201
1314
  # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
@@ -1342,7 +1455,9 @@ module Google
1342
1455
 
1343
1456
  # Attaches a service project to the host project.
1344
1457
  # @param [String] parent
1345
- # Required. Value for parent.
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``.
1346
1461
  # @param [Google::Apis::ApphubV1alpha::ServiceProjectAttachment] service_project_attachment_object
1347
1462
  # @param [String] request_id
1348
1463
  # Optional. An optional request ID to identify requests. Specify a unique
@@ -1356,9 +1471,9 @@ module Google
1356
1471
  # duplicate commitments. The request ID must be a valid UUID with the exception
1357
1472
  # that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
1358
1473
  # @param [String] service_project_attachment_id
1359
- # Required. The service project attachment identifier must contain the
1360
- # project_id of the service project specified in the service_project_attachment.
1361
- # service_project field. Hint: "projects/`project_id`"
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.
1362
1477
  # @param [String] fields
1363
1478
  # Selector specifying which fields to include in a partial response.
1364
1479
  # @param [String] quota_user
@@ -1390,9 +1505,11 @@ module Google
1390
1505
  execute_or_queue_command(command, &block)
1391
1506
  end
1392
1507
 
1393
- # Deletes a service project attached to the host project.
1508
+ # Deletes a service project attachment.
1394
1509
  # @param [String] name
1395
- # Required. Value for name.
1510
+ # Required. Fully qualified name of the service project attachment to delete.
1511
+ # Expected format: `projects/`project`/locations/`location`/
1512
+ # serviceProjectAttachments/`serviceProjectAttachment``.
1396
1513
  # @param [String] request_id
1397
1514
  # Optional. An optional request ID to identify requests. Specify a unique
1398
1515
  # request ID so that if you must retry your request, the server will know to
@@ -1432,9 +1549,11 @@ module Google
1432
1549
  execute_or_queue_command(command, &block)
1433
1550
  end
1434
1551
 
1435
- # Gets a service project attached to the host project.
1552
+ # Gets a service project attachment.
1436
1553
  # @param [String] name
1437
- # Required. Value for name.
1554
+ # Required. Fully qualified name of the service project attachment to retrieve.
1555
+ # Expected format: `projects/`project`/locations/`location`/
1556
+ # serviceProjectAttachments/`serviceProjectAttachment``.
1438
1557
  # @param [String] fields
1439
1558
  # Selector specifying which fields to include in a partial response.
1440
1559
  # @param [String] quota_user
@@ -1462,13 +1581,15 @@ module Google
1462
1581
  execute_or_queue_command(command, &block)
1463
1582
  end
1464
1583
 
1465
- # List service projects attached to the host project.
1584
+ # Lists service projects attached to the host project.
1466
1585
  # @param [String] parent
1467
- # Required. Value for parent.
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``.
1468
1589
  # @param [String] filter
1469
- # Optional. Filtering results
1590
+ # Optional. Filtering results.
1470
1591
  # @param [String] order_by
1471
- # Optional. Hint for how to order the results
1592
+ # Optional. Hint for how to order the results.
1472
1593
  # @param [Fixnum] page_size
1473
1594
  # Optional. Requested page size. Server may return fewer items than requested.
1474
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.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-02-18 00:00:00.000000000 Z
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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.12.0
19
+ version: 0.14.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.12.0
29
+ version: 0.14.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_v1alpha/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-apphub_v1alpha/v0.4.0
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: []
@@ -68,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
68
68
  requirements:
69
69
  - - ">="
70
70
  - !ruby/object:Gem::Version
71
- version: '2.5'
71
+ version: '2.7'
72
72
  required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  requirements:
74
74
  - - ">="
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.5.3
78
+ rubygems_version: 3.5.6
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for App Hub API V1alpha