google-apis-apphub_v1alpha 0.1.0 → 0.3.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: 31acc4aa40778e37c92cd094389385c840f4a50758552ed354123a37dabef62f
|
4
|
+
data.tar.gz: b4aebe174d38b38764a8029f255d23e0523ecf43651d50b377f5cb4db8edb0b9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 744cb086c1a610338b6acd5fdae5c0700d6e544925bff330704ebdd6d277f2945fe2ce87a4a4625f853dae55957c0878e2519192f46c3ac1624d5f093142e49b
|
7
|
+
data.tar.gz: 4d327c57af52fa3ea4323cb63aaf4809e5b2676a1c761cc53a1c08464921b1e38c5b48a0e742aaecbd0da040b5cfc7e3b1bb8b2ee4eca189f43d1ed9df44793f
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-apphub_v1alpha
|
2
2
|
|
3
|
+
### v0.3.0 (2024-02-04)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240125
|
6
|
+
|
7
|
+
### v0.2.0 (2024-01-28)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240122
|
10
|
+
* Regenerated using generator version 0.13.1
|
11
|
+
|
3
12
|
### v0.1.0 (2024-01-22)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20240104
|
@@ -288,7 +288,10 @@ module Google
|
|
288
288
|
attr_accessor :members
|
289
289
|
|
290
290
|
# Role that is assigned to the list of `members`, or principals. For example, `
|
291
|
-
# roles/viewer`, `roles/editor`, or `roles/owner`.
|
291
|
+
# roles/viewer`, `roles/editor`, or `roles/owner`. For an overview of the IAM
|
292
|
+
# roles and permissions, see the [IAM documentation](https://cloud.google.com/
|
293
|
+
# iam/docs/roles-overview). For a list of the available pre-defined roles, see [
|
294
|
+
# here](https://cloud.google.com/iam/docs/understanding-roles).
|
292
295
|
# Corresponds to the JSON property `role`
|
293
296
|
# @return [String]
|
294
297
|
attr_accessor :role
|
@@ -578,6 +581,68 @@ module Google
|
|
578
581
|
end
|
579
582
|
end
|
580
583
|
|
584
|
+
# Response for FindDiscoveredServices.
|
585
|
+
class FindDiscoveredServicesResponse
|
586
|
+
include Google::Apis::Core::Hashable
|
587
|
+
|
588
|
+
# List of discovered services.
|
589
|
+
# Corresponds to the JSON property `discoveredServices`
|
590
|
+
# @return [Array<Google::Apis::ApphubV1alpha::DiscoveredService>]
|
591
|
+
attr_accessor :discovered_services
|
592
|
+
|
593
|
+
# A token identifying a page of results the server should return.
|
594
|
+
# Corresponds to the JSON property `nextPageToken`
|
595
|
+
# @return [String]
|
596
|
+
attr_accessor :next_page_token
|
597
|
+
|
598
|
+
# Locations that could not be reached.
|
599
|
+
# Corresponds to the JSON property `unreachable`
|
600
|
+
# @return [Array<String>]
|
601
|
+
attr_accessor :unreachable
|
602
|
+
|
603
|
+
def initialize(**args)
|
604
|
+
update!(**args)
|
605
|
+
end
|
606
|
+
|
607
|
+
# Update properties of this object
|
608
|
+
def update!(**args)
|
609
|
+
@discovered_services = args[:discovered_services] if args.key?(:discovered_services)
|
610
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
611
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
615
|
+
# Response for FindDiscoveredWorkloads.
|
616
|
+
class FindDiscoveredWorkloadsResponse
|
617
|
+
include Google::Apis::Core::Hashable
|
618
|
+
|
619
|
+
# List of discovered workloads.
|
620
|
+
# Corresponds to the JSON property `discoveredWorkloads`
|
621
|
+
# @return [Array<Google::Apis::ApphubV1alpha::DiscoveredWorkload>]
|
622
|
+
attr_accessor :discovered_workloads
|
623
|
+
|
624
|
+
# A token identifying a page of results the server should return.
|
625
|
+
# Corresponds to the JSON property `nextPageToken`
|
626
|
+
# @return [String]
|
627
|
+
attr_accessor :next_page_token
|
628
|
+
|
629
|
+
# Locations that could not be reached.
|
630
|
+
# Corresponds to the JSON property `unreachable`
|
631
|
+
# @return [Array<String>]
|
632
|
+
attr_accessor :unreachable
|
633
|
+
|
634
|
+
def initialize(**args)
|
635
|
+
update!(**args)
|
636
|
+
end
|
637
|
+
|
638
|
+
# Update properties of this object
|
639
|
+
def update!(**args)
|
640
|
+
@discovered_workloads = args[:discovered_workloads] if args.key?(:discovered_workloads)
|
641
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
642
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
643
|
+
end
|
644
|
+
end
|
645
|
+
|
581
646
|
# Response for FindUnregisteredServices.
|
582
647
|
class FindUnregisteredServicesResponse
|
583
648
|
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.3.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.13.
|
22
|
+
GENERATOR_VERSION = "0.13.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240125"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,6 +118,18 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class FindDiscoveredServicesResponse
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
127
|
+
class FindDiscoveredWorkloadsResponse
|
128
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
|
+
|
130
|
+
include Google::Apis::Core::JsonObjectSupport
|
131
|
+
end
|
132
|
+
|
121
133
|
class FindUnregisteredServicesResponse
|
122
134
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
135
|
|
@@ -428,6 +440,26 @@ module Google
|
|
428
440
|
end
|
429
441
|
end
|
430
442
|
|
443
|
+
class FindDiscoveredServicesResponse
|
444
|
+
# @private
|
445
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
446
|
+
collection :discovered_services, as: 'discoveredServices', class: Google::Apis::ApphubV1alpha::DiscoveredService, decorator: Google::Apis::ApphubV1alpha::DiscoveredService::Representation
|
447
|
+
|
448
|
+
property :next_page_token, as: 'nextPageToken'
|
449
|
+
collection :unreachable, as: 'unreachable'
|
450
|
+
end
|
451
|
+
end
|
452
|
+
|
453
|
+
class FindDiscoveredWorkloadsResponse
|
454
|
+
# @private
|
455
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
456
|
+
collection :discovered_workloads, as: 'discoveredWorkloads', class: Google::Apis::ApphubV1alpha::DiscoveredWorkload, decorator: Google::Apis::ApphubV1alpha::DiscoveredWorkload::Representation
|
457
|
+
|
458
|
+
property :next_page_token, as: 'nextPageToken'
|
459
|
+
collection :unreachable, as: 'unreachable'
|
460
|
+
end
|
461
|
+
end
|
462
|
+
|
431
463
|
class FindUnregisteredServicesResponse
|
432
464
|
# @private
|
433
465
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -964,6 +964,50 @@ module Google
|
|
964
964
|
execute_or_queue_command(command, &block)
|
965
965
|
end
|
966
966
|
|
967
|
+
# Finds discovered services that could be added to an application in a host
|
968
|
+
# project and location.
|
969
|
+
# @param [String] parent
|
970
|
+
# Required. Value for parent.
|
971
|
+
# @param [String] filter
|
972
|
+
# Optional. Filtering results
|
973
|
+
# @param [String] order_by
|
974
|
+
# Optional. Hint for how to order the results
|
975
|
+
# @param [Fixnum] page_size
|
976
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
977
|
+
# If unspecified, server will pick an appropriate default.
|
978
|
+
# @param [String] page_token
|
979
|
+
# Optional. A token identifying a page of results the server should return.
|
980
|
+
# @param [String] fields
|
981
|
+
# Selector specifying which fields to include in a partial response.
|
982
|
+
# @param [String] quota_user
|
983
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
984
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
985
|
+
# @param [Google::Apis::RequestOptions] options
|
986
|
+
# Request-specific options
|
987
|
+
#
|
988
|
+
# @yield [result, err] Result & error if block supplied
|
989
|
+
# @yieldparam result [Google::Apis::ApphubV1alpha::FindDiscoveredServicesResponse] parsed result object
|
990
|
+
# @yieldparam err [StandardError] error object if request failed
|
991
|
+
#
|
992
|
+
# @return [Google::Apis::ApphubV1alpha::FindDiscoveredServicesResponse]
|
993
|
+
#
|
994
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
995
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
996
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
997
|
+
def find_project_location_discovered_service(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
998
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/discoveredServices:find', options)
|
999
|
+
command.response_representation = Google::Apis::ApphubV1alpha::FindDiscoveredServicesResponse::Representation
|
1000
|
+
command.response_class = Google::Apis::ApphubV1alpha::FindDiscoveredServicesResponse
|
1001
|
+
command.params['parent'] = parent unless parent.nil?
|
1002
|
+
command.query['filter'] = filter unless filter.nil?
|
1003
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1004
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1005
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1006
|
+
command.query['fields'] = fields unless fields.nil?
|
1007
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1008
|
+
execute_or_queue_command(command, &block)
|
1009
|
+
end
|
1010
|
+
|
967
1011
|
# Finds unregistered services in a host project and location.
|
968
1012
|
# @param [String] parent
|
969
1013
|
# Required. Value for parent.
|
@@ -1080,6 +1124,50 @@ module Google
|
|
1080
1124
|
execute_or_queue_command(command, &block)
|
1081
1125
|
end
|
1082
1126
|
|
1127
|
+
# Finds discovered workloads that could be added to an application in a host
|
1128
|
+
# project and location.
|
1129
|
+
# @param [String] parent
|
1130
|
+
# Required. Value for parent.
|
1131
|
+
# @param [String] filter
|
1132
|
+
# Optional. Filtering results
|
1133
|
+
# @param [String] order_by
|
1134
|
+
# Optional. Hint for how to order the results
|
1135
|
+
# @param [Fixnum] page_size
|
1136
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
1137
|
+
# If unspecified, server will pick an appropriate default.
|
1138
|
+
# @param [String] page_token
|
1139
|
+
# Optional. A token identifying a page of results the server should return.
|
1140
|
+
# @param [String] fields
|
1141
|
+
# Selector specifying which fields to include in a partial response.
|
1142
|
+
# @param [String] quota_user
|
1143
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1144
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1145
|
+
# @param [Google::Apis::RequestOptions] options
|
1146
|
+
# Request-specific options
|
1147
|
+
#
|
1148
|
+
# @yield [result, err] Result & error if block supplied
|
1149
|
+
# @yieldparam result [Google::Apis::ApphubV1alpha::FindDiscoveredWorkloadsResponse] parsed result object
|
1150
|
+
# @yieldparam err [StandardError] error object if request failed
|
1151
|
+
#
|
1152
|
+
# @return [Google::Apis::ApphubV1alpha::FindDiscoveredWorkloadsResponse]
|
1153
|
+
#
|
1154
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1155
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1156
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1157
|
+
def find_project_location_discovered_workload(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1158
|
+
command = make_simple_command(:get, 'v1alpha/{+parent}/discoveredWorkloads:find', options)
|
1159
|
+
command.response_representation = Google::Apis::ApphubV1alpha::FindDiscoveredWorkloadsResponse::Representation
|
1160
|
+
command.response_class = Google::Apis::ApphubV1alpha::FindDiscoveredWorkloadsResponse
|
1161
|
+
command.params['parent'] = parent unless parent.nil?
|
1162
|
+
command.query['filter'] = filter unless filter.nil?
|
1163
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1164
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1165
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1166
|
+
command.query['fields'] = fields unless fields.nil?
|
1167
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1168
|
+
execute_or_queue_command(command, &block)
|
1169
|
+
end
|
1170
|
+
|
1083
1171
|
# Finds unregistered workloads in a host project and location.
|
1084
1172
|
# @param [String] parent
|
1085
1173
|
# Required. Value for parent.
|
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.3.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-02-04 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.3.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: []
|