google-cloud-app_hub-v1 1.7.2 → 1.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/app_hub/v1/app_hub/client.rb +418 -3
- data/lib/google/cloud/app_hub/v1/app_hub/paths.rb +36 -0
- data/lib/google/cloud/app_hub/v1/app_hub/rest/client.rb +390 -3
- data/lib/google/cloud/app_hub/v1/app_hub/rest/service_stub.rb +245 -0
- data/lib/google/cloud/app_hub/v1/version.rb +1 -1
- data/lib/google/cloud/apphub/v1/apphub_service_pb.rb +9 -1
- data/lib/google/cloud/apphub/v1/apphub_service_services_pb.rb +9 -1
- data/lib/google/cloud/apphub/v1/application_pb.rb +5 -1
- data/lib/google/cloud/apphub/v1/attributes_pb.rb +1 -1
- data/lib/google/cloud/apphub/v1/boundary_pb.rb +26 -0
- data/lib/google/cloud/apphub/v1/extended_metadata_schema_pb.rb +24 -0
- data/lib/google/cloud/apphub/v1/properties_pb.rb +30 -0
- data/lib/google/cloud/apphub/v1/service_pb.rb +2 -1
- data/lib/google/cloud/apphub/v1/service_project_attachment_pb.rb +1 -1
- data/lib/google/cloud/apphub/v1/workload_pb.rb +2 -1
- data/proto_docs/google/cloud/apphub/v1/apphub_service.rb +87 -3
- data/proto_docs/google/cloud/apphub/v1/application.rb +46 -0
- data/proto_docs/google/cloud/apphub/v1/boundary.rb +66 -0
- data/proto_docs/google/cloud/apphub/v1/extended_metadata_schema.rb +45 -0
- data/proto_docs/google/cloud/apphub/v1/properties.rb +94 -0
- data/proto_docs/google/cloud/apphub/v1/service.rb +24 -0
- data/proto_docs/google/cloud/apphub/v1/workload.rb +21 -0
- data/proto_docs/google/protobuf/struct.rb +108 -0
- metadata +10 -3
|
@@ -8,10 +8,11 @@ require 'google/api/field_behavior_pb'
|
|
|
8
8
|
require 'google/api/field_info_pb'
|
|
9
9
|
require 'google/api/resource_pb'
|
|
10
10
|
require 'google/cloud/apphub/v1/attributes_pb'
|
|
11
|
+
require 'google/cloud/apphub/v1/properties_pb'
|
|
11
12
|
require 'google/protobuf/timestamp_pb'
|
|
12
13
|
|
|
13
14
|
|
|
14
|
-
descriptor_data = "\n%google/cloud/apphub/v1/workload.proto\x12\x16google.cloud.apphub.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/apphub/v1/attributes.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
15
|
+
descriptor_data = "\n%google/cloud/apphub/v1/workload.proto\x12\x16google.cloud.apphub.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/api/field_info.proto\x1a\x19google/api/resource.proto\x1a\'google/cloud/apphub/v1/attributes.proto\x1a\'google/cloud/apphub/v1/properties.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb1\x06\n\x08Workload\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12\x1a\n\x0c\x64isplay_name\x18\x02 \x01(\tB\x04\xe2\x41\x01\x01\x12\x19\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x04\xe2\x41\x01\x01\x12K\n\x12workload_reference\x18\x04 \x01(\x0b\x32).google.cloud.apphub.v1.WorkloadReferenceB\x04\xe2\x41\x01\x03\x12M\n\x13workload_properties\x18\x05 \x01(\x0b\x32*.google.cloud.apphub.v1.WorkloadPropertiesB\x04\xe2\x41\x01\x03\x12O\n\x13\x64iscovered_workload\x18\x06 \x01(\tB2\xe2\x41\x02\x02\x05\xfa\x41*\x12(apphub.googleapis.com/DiscoveredWorkload\x12<\n\nattributes\x18\x07 \x01(\x0b\x32\".google.cloud.apphub.v1.AttributesB\x04\xe2\x41\x01\x01\x12\x35\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x35\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x19\n\x03uid\x18\n \x01(\tB\x0c\xe2\x41\x01\x03\xe2\x8c\xcf\xd7\x08\x02\x08\x01\x12;\n\x05state\x18\x0b \x01(\x0e\x32&.google.cloud.apphub.v1.Workload.StateB\x04\xe2\x41\x01\x03\"T\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08\x44\x45TACHED\x10\x04:\x92\x01\xea\x41\x8e\x01\n\x1e\x61pphub.googleapis.com/Workload\x12Wprojects/{project}/locations/{location}/applications/{application}/workloads/{workload}*\tworkloads2\x08workload\"&\n\x11WorkloadReference\x12\x11\n\x03uri\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\"\xa2\x03\n\x12WorkloadProperties\x12\x19\n\x0bgcp_project\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x16\n\x08location\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12\x12\n\x04zone\x18\x03 \x01(\tB\x04\xe2\x41\x01\x03\x12\x45\n\x0f\x66unctional_type\x18\x04 \x01(\x0b\x32&.google.cloud.apphub.v1.FunctionalTypeB\x04\xe2\x41\x01\x03\x12\x61\n\x11\x65xtended_metadata\x18\x05 \x03(\x0b\x32@.google.cloud.apphub.v1.WorkloadProperties.ExtendedMetadataEntryB\x04\xe2\x41\x01\x03\x12\x38\n\x08identity\x18\x06 \x01(\x0b\x32 .google.cloud.apphub.v1.IdentityB\x04\xe2\x41\x01\x03\x1a\x61\n\x15\x45xtendedMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.google.cloud.apphub.v1.ExtendedMetadata:\x02\x38\x01\"\xf1\x02\n\x12\x44iscoveredWorkload\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x08\x12K\n\x12workload_reference\x18\x02 \x01(\x0b\x32).google.cloud.apphub.v1.WorkloadReferenceB\x04\xe2\x41\x01\x03\x12M\n\x13workload_properties\x18\x03 \x01(\x0b\x32*.google.cloud.apphub.v1.WorkloadPropertiesB\x04\xe2\x41\x01\x03:\xaa\x01\xea\x41\xa6\x01\n(apphub.googleapis.com/DiscoveredWorkload\x12Qprojects/{project}/locations/{location}/discoveredWorkloads/{discovered_workload}*\x13\x64iscoveredWorkloads2\x12\x64iscoveredWorkloadB\xaf\x01\n\x1a\x63om.google.cloud.apphub.v1B\rWorkloadProtoP\x01Z2cloud.google.com/go/apphub/apiv1/apphubpb;apphubpb\xaa\x02\x16Google.Cloud.AppHub.V1\xca\x02\x16Google\\Cloud\\AppHub\\V1\xea\x02\x19Google::Cloud::AppHub::V1b\x06proto3"
|
|
15
16
|
|
|
16
17
|
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
17
18
|
pool.add_serialized_file(descriptor_data)
|
|
@@ -329,7 +329,7 @@ module Google
|
|
|
329
329
|
# Request for UpdateService.
|
|
330
330
|
# @!attribute [rw] update_mask
|
|
331
331
|
# @return [::Google::Protobuf::FieldMask]
|
|
332
|
-
#
|
|
332
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
333
333
|
# Service resource by the update.
|
|
334
334
|
# The fields specified in the update_mask are relative to the resource, not
|
|
335
335
|
# the full request.
|
|
@@ -473,7 +473,7 @@ module Google
|
|
|
473
473
|
# Request for UpdateApplication.
|
|
474
474
|
# @!attribute [rw] update_mask
|
|
475
475
|
# @return [::Google::Protobuf::FieldMask]
|
|
476
|
-
#
|
|
476
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
477
477
|
# Application resource by the update.
|
|
478
478
|
# The fields specified in the update_mask are relative to the resource, not
|
|
479
479
|
# the full request.
|
|
@@ -692,7 +692,7 @@ module Google
|
|
|
692
692
|
# Request for UpdateWorkload.
|
|
693
693
|
# @!attribute [rw] update_mask
|
|
694
694
|
# @return [::Google::Protobuf::FieldMask]
|
|
695
|
-
#
|
|
695
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
696
696
|
# Workload resource by the update.
|
|
697
697
|
# The fields specified in the update_mask are relative to the resource, not
|
|
698
698
|
# the full request.
|
|
@@ -750,6 +750,47 @@ module Google
|
|
|
750
750
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
751
751
|
end
|
|
752
752
|
|
|
753
|
+
# Request message for AppHub.GetBoundary.
|
|
754
|
+
# @!attribute [rw] name
|
|
755
|
+
# @return [::String]
|
|
756
|
+
# Required. The name of the boundary to retrieve.
|
|
757
|
+
# Format: `projects/{project}/locations/{location}/boundary`.
|
|
758
|
+
class GetBoundaryRequest
|
|
759
|
+
include ::Google::Protobuf::MessageExts
|
|
760
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
761
|
+
end
|
|
762
|
+
|
|
763
|
+
# Request message for AppHub.UpdateBoundary.
|
|
764
|
+
# @!attribute [rw] update_mask
|
|
765
|
+
# @return [::Google::Protobuf::FieldMask]
|
|
766
|
+
# Optional. Field mask is used to specify the fields to be overwritten in the
|
|
767
|
+
# Boundary resource by the update.
|
|
768
|
+
# The fields specified in the update_mask are relative to the resource, not
|
|
769
|
+
# the full request. A field will be overwritten if it is in the mask. If the
|
|
770
|
+
# user does not provide a mask then all fields will be overwritten.
|
|
771
|
+
# @!attribute [rw] boundary
|
|
772
|
+
# @return [::Google::Cloud::AppHub::V1::Boundary]
|
|
773
|
+
# Required. The boundary to update.
|
|
774
|
+
# @!attribute [rw] request_id
|
|
775
|
+
# @return [::String]
|
|
776
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
|
777
|
+
# request ID so that if you must retry your request, the server will know to
|
|
778
|
+
# ignore the request if it has already been completed. The server will
|
|
779
|
+
# guarantee that for at least 60 minutes since the first request.
|
|
780
|
+
#
|
|
781
|
+
# For example, consider a situation where you make an initial request and the
|
|
782
|
+
# request times out. If you make the request again with the same request
|
|
783
|
+
# ID, the server can check if original operation with the same request ID
|
|
784
|
+
# was received, and if so, will ignore the second request. This prevents
|
|
785
|
+
# clients from accidentally creating duplicate commitments.
|
|
786
|
+
#
|
|
787
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
|
788
|
+
# not supported (00000000-0000-0000-0000-000000000000).
|
|
789
|
+
class UpdateBoundaryRequest
|
|
790
|
+
include ::Google::Protobuf::MessageExts
|
|
791
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
792
|
+
end
|
|
793
|
+
|
|
753
794
|
# Represents the metadata of the long-running operation.
|
|
754
795
|
# @!attribute [r] create_time
|
|
755
796
|
# @return [::Google::Protobuf::Timestamp]
|
|
@@ -781,6 +822,49 @@ module Google
|
|
|
781
822
|
include ::Google::Protobuf::MessageExts
|
|
782
823
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
783
824
|
end
|
|
825
|
+
|
|
826
|
+
# Request for GetExtendedMetadataSchema.
|
|
827
|
+
# @!attribute [rw] name
|
|
828
|
+
# @return [::String]
|
|
829
|
+
# Required. Schema resource name.
|
|
830
|
+
# Format:
|
|
831
|
+
# `projects/{project}/locations/{location}/extendedMetadataSchemas/{extended_metadata_schema}`.
|
|
832
|
+
#
|
|
833
|
+
# `{extended_metadata_schema}` has the format
|
|
834
|
+
# `"apphub.googleapis.com/{SchemaName}"`.
|
|
835
|
+
class GetExtendedMetadataSchemaRequest
|
|
836
|
+
include ::Google::Protobuf::MessageExts
|
|
837
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
838
|
+
end
|
|
839
|
+
|
|
840
|
+
# Request for ListExtendedMetadataSchemas.
|
|
841
|
+
# @!attribute [rw] parent
|
|
842
|
+
# @return [::String]
|
|
843
|
+
# Required. Project and location to list Extended Metadata Schemas on.
|
|
844
|
+
# Expected format: `projects/{project}/locations/{location}`.
|
|
845
|
+
# @!attribute [rw] page_size
|
|
846
|
+
# @return [::Integer]
|
|
847
|
+
# Optional. Requested page size. Server may return fewer items than
|
|
848
|
+
# requested. If unspecified, server will pick an appropriate default.
|
|
849
|
+
# @!attribute [rw] page_token
|
|
850
|
+
# @return [::String]
|
|
851
|
+
# Optional. A token identifying a page of results the server should return.
|
|
852
|
+
class ListExtendedMetadataSchemasRequest
|
|
853
|
+
include ::Google::Protobuf::MessageExts
|
|
854
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
855
|
+
end
|
|
856
|
+
|
|
857
|
+
# Response for ListExtendedMetadataSchemas.
|
|
858
|
+
# @!attribute [rw] extended_metadata_schemas
|
|
859
|
+
# @return [::Array<::Google::Cloud::AppHub::V1::ExtendedMetadataSchema>]
|
|
860
|
+
# List of Extended Metadata Schemas.
|
|
861
|
+
# @!attribute [rw] next_page_token
|
|
862
|
+
# @return [::String]
|
|
863
|
+
# A token identifying a page of results the server should return.
|
|
864
|
+
class ListExtendedMetadataSchemasResponse
|
|
865
|
+
include ::Google::Protobuf::MessageExts
|
|
866
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
867
|
+
end
|
|
784
868
|
end
|
|
785
869
|
end
|
|
786
870
|
end
|
|
@@ -57,6 +57,13 @@ module Google
|
|
|
57
57
|
# @!attribute [r] state
|
|
58
58
|
# @return [::Google::Cloud::AppHub::V1::Application::State]
|
|
59
59
|
# Output only. Application state.
|
|
60
|
+
# @!attribute [r] application_properties
|
|
61
|
+
# @return [::Google::Cloud::AppHub::V1::ApplicationProperties]
|
|
62
|
+
# Output only. Properties of an underlying cloud resource that can comprise
|
|
63
|
+
# an Application.
|
|
64
|
+
# @!attribute [r] application_type
|
|
65
|
+
# @return [::Google::Cloud::AppHub::V1::ApplicationType]
|
|
66
|
+
# Output only. Application type.
|
|
60
67
|
class Application
|
|
61
68
|
include ::Google::Protobuf::MessageExts
|
|
62
69
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -77,6 +84,24 @@ module Google
|
|
|
77
84
|
end
|
|
78
85
|
end
|
|
79
86
|
|
|
87
|
+
# Application type.
|
|
88
|
+
# @!attribute [rw] type
|
|
89
|
+
# @return [::Google::Cloud::AppHub::V1::ApplicationType::Type]
|
|
90
|
+
# The type of the application.
|
|
91
|
+
class ApplicationType
|
|
92
|
+
include ::Google::Protobuf::MessageExts
|
|
93
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
94
|
+
|
|
95
|
+
# Application type enum.
|
|
96
|
+
module Type
|
|
97
|
+
# Unspecified type.
|
|
98
|
+
TYPE_UNSPECIFIED = 0
|
|
99
|
+
|
|
100
|
+
# AI Application type.
|
|
101
|
+
AI_APPLICATION = 1
|
|
102
|
+
end
|
|
103
|
+
end
|
|
104
|
+
|
|
80
105
|
# Scope of an application.
|
|
81
106
|
# @!attribute [rw] type
|
|
82
107
|
# @return [::Google::Cloud::AppHub::V1::Scope::Type]
|
|
@@ -97,6 +122,27 @@ module Google
|
|
|
97
122
|
GLOBAL = 2
|
|
98
123
|
end
|
|
99
124
|
end
|
|
125
|
+
|
|
126
|
+
# Additional system properties of an Application.
|
|
127
|
+
# @!attribute [r] extended_metadata
|
|
128
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AppHub::V1::ExtendedMetadata}]
|
|
129
|
+
# Output only. Additional metadata specific to the App Hub application.
|
|
130
|
+
# The key is a string that identifies the type of metadata and the value is
|
|
131
|
+
# the metadata contents specific to that type.
|
|
132
|
+
# Key format: `apphub.googleapis.com/{metadataType}`
|
|
133
|
+
class ApplicationProperties
|
|
134
|
+
include ::Google::Protobuf::MessageExts
|
|
135
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
136
|
+
|
|
137
|
+
# @!attribute [rw] key
|
|
138
|
+
# @return [::String]
|
|
139
|
+
# @!attribute [rw] value
|
|
140
|
+
# @return [::Google::Cloud::AppHub::V1::ExtendedMetadata]
|
|
141
|
+
class ExtendedMetadataEntry
|
|
142
|
+
include ::Google::Protobuf::MessageExts
|
|
143
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
144
|
+
end
|
|
145
|
+
end
|
|
100
146
|
end
|
|
101
147
|
end
|
|
102
148
|
end
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module AppHub
|
|
23
|
+
module V1
|
|
24
|
+
# Application management boundary.
|
|
25
|
+
# @!attribute [rw] crm_node
|
|
26
|
+
# @return [::String]
|
|
27
|
+
# Optional. The resource name of the CRM node being attached to the
|
|
28
|
+
# boundary.
|
|
29
|
+
# Format: `projects/{project-number}` or `projects/{project-id}`
|
|
30
|
+
# @!attribute [rw] name
|
|
31
|
+
# @return [::String]
|
|
32
|
+
# Identifier. The resource name of the boundary.
|
|
33
|
+
# Format: "projects/\\{project}/locations/\\{location}/boundary"
|
|
34
|
+
# @!attribute [r] create_time
|
|
35
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
36
|
+
# Output only. Create time.
|
|
37
|
+
# @!attribute [r] update_time
|
|
38
|
+
# @return [::Google::Protobuf::Timestamp]
|
|
39
|
+
# Output only. Update time.
|
|
40
|
+
# @!attribute [r] type
|
|
41
|
+
# @return [::Google::Cloud::AppHub::V1::Boundary::Type]
|
|
42
|
+
# Output only. Boundary type.
|
|
43
|
+
class Boundary
|
|
44
|
+
include ::Google::Protobuf::MessageExts
|
|
45
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
46
|
+
|
|
47
|
+
# Boundary management type.
|
|
48
|
+
module Type
|
|
49
|
+
# Unspecified type.
|
|
50
|
+
TYPE_UNSPECIFIED = 0
|
|
51
|
+
|
|
52
|
+
# The Boundary automatically includes all descendants of the CRM node.
|
|
53
|
+
AUTOMATIC = 1
|
|
54
|
+
|
|
55
|
+
# The list of projects within the Boundary is managed by the user.
|
|
56
|
+
MANUAL = 2
|
|
57
|
+
|
|
58
|
+
# The Boundary automatically includes all descendants of the CRM node,
|
|
59
|
+
# which is set via App Management folder capability.
|
|
60
|
+
MANAGED_AUTOMATIC = 3
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
64
|
+
end
|
|
65
|
+
end
|
|
66
|
+
end
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module AppHub
|
|
23
|
+
module V1
|
|
24
|
+
# ExtendedMetadataSchema represents a schema for extended metadata of a service
|
|
25
|
+
# or workload.
|
|
26
|
+
# @!attribute [rw] name
|
|
27
|
+
# @return [::String]
|
|
28
|
+
# Identifier. Resource name of the schema.
|
|
29
|
+
# Format:
|
|
30
|
+
# projects/<project>/locations/<location>/extendedMetadataSchemas/<schema-id>
|
|
31
|
+
# @!attribute [r] json_schema
|
|
32
|
+
# @return [::String]
|
|
33
|
+
# Output only. The JSON schema as a string.
|
|
34
|
+
# @!attribute [r] schema_version
|
|
35
|
+
# @return [::Integer]
|
|
36
|
+
# Output only. The version of the schema. New versions are required to be
|
|
37
|
+
# backwards compatible.
|
|
38
|
+
class ExtendedMetadataSchema
|
|
39
|
+
include ::Google::Protobuf::MessageExts
|
|
40
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Cloud
|
|
22
|
+
module AppHub
|
|
23
|
+
module V1
|
|
24
|
+
# The functional type of a service or workload.
|
|
25
|
+
# @!attribute [r] type
|
|
26
|
+
# @return [::Google::Cloud::AppHub::V1::FunctionalType::Type]
|
|
27
|
+
# Output only. The functional type of a service or workload.
|
|
28
|
+
class FunctionalType
|
|
29
|
+
include ::Google::Protobuf::MessageExts
|
|
30
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
31
|
+
|
|
32
|
+
# The functional type of a service or workload.
|
|
33
|
+
module Type
|
|
34
|
+
# Unspecified type.
|
|
35
|
+
TYPE_UNSPECIFIED = 0
|
|
36
|
+
|
|
37
|
+
# Agent type.
|
|
38
|
+
AGENT = 1
|
|
39
|
+
|
|
40
|
+
# MCP Server type.
|
|
41
|
+
MCP_SERVER = 2
|
|
42
|
+
|
|
43
|
+
# Endpoint type.
|
|
44
|
+
ENDPOINT = 3
|
|
45
|
+
end
|
|
46
|
+
end
|
|
47
|
+
|
|
48
|
+
# The registration type of a service.
|
|
49
|
+
# @!attribute [r] type
|
|
50
|
+
# @return [::Google::Cloud::AppHub::V1::RegistrationType::Type]
|
|
51
|
+
# Output only. The registration type of a service.
|
|
52
|
+
class RegistrationType
|
|
53
|
+
include ::Google::Protobuf::MessageExts
|
|
54
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
55
|
+
|
|
56
|
+
# The registration type of a service.
|
|
57
|
+
module Type
|
|
58
|
+
# Unspecified registration type. Defaults to EXCLUSIVE.
|
|
59
|
+
TYPE_UNSPECIFIED = 0
|
|
60
|
+
|
|
61
|
+
# The service can only be registered to one application.
|
|
62
|
+
EXCLUSIVE = 1
|
|
63
|
+
|
|
64
|
+
# The service can be registered to multiple applications.
|
|
65
|
+
SHARED = 2
|
|
66
|
+
end
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
# Additional metadata for a Service or Workload.
|
|
70
|
+
# @!attribute [r] metadata_struct
|
|
71
|
+
# @return [::Google::Protobuf::Struct]
|
|
72
|
+
# Output only. The metadata contents.
|
|
73
|
+
class ExtendedMetadata
|
|
74
|
+
include ::Google::Protobuf::MessageExts
|
|
75
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
76
|
+
end
|
|
77
|
+
|
|
78
|
+
# The identity associated with a service or workload.
|
|
79
|
+
# @!attribute [r] principal
|
|
80
|
+
# @return [::String]
|
|
81
|
+
# Output only. The principal of the identity.
|
|
82
|
+
#
|
|
83
|
+
# Supported formats:
|
|
84
|
+
#
|
|
85
|
+
# * `sa://my-sa@PROJECT_ID.iam.gserviceaccount.com` for GCP Service Account
|
|
86
|
+
# * `principal://POOL_ID.global.PROJECT_NUMBER.workload.id.goog/ns/NAMESPACE_ID/sa/MANAGED_IDENTITY_ID` for Managed Workload Identity
|
|
87
|
+
class Identity
|
|
88
|
+
include ::Google::Protobuf::MessageExts
|
|
89
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
90
|
+
end
|
|
91
|
+
end
|
|
92
|
+
end
|
|
93
|
+
end
|
|
94
|
+
end
|
|
@@ -109,9 +109,33 @@ module Google
|
|
|
109
109
|
# @return [::String]
|
|
110
110
|
# Output only. The location that the underlying resource resides in if it is
|
|
111
111
|
# zonal, for example, us-west1-a).
|
|
112
|
+
# @!attribute [r] functional_type
|
|
113
|
+
# @return [::Google::Cloud::AppHub::V1::FunctionalType]
|
|
114
|
+
# Output only. The type of the service.
|
|
115
|
+
# @!attribute [r] registration_type
|
|
116
|
+
# @return [::Google::Cloud::AppHub::V1::RegistrationType]
|
|
117
|
+
# Output only. The registration type of the service.
|
|
118
|
+
# @!attribute [r] extended_metadata
|
|
119
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AppHub::V1::ExtendedMetadata}]
|
|
120
|
+
# Output only. Additional metadata specific to the resource type.
|
|
121
|
+
# The key is a string that identifies the type of metadata and the value is
|
|
122
|
+
# the metadata contents specific to that type.
|
|
123
|
+
# Key format: `apphub.googleapis.com/{metadataType}`
|
|
124
|
+
# @!attribute [r] identity
|
|
125
|
+
# @return [::Google::Cloud::AppHub::V1::Identity]
|
|
126
|
+
# Output only. The identity associated with the service.
|
|
112
127
|
class ServiceProperties
|
|
113
128
|
include ::Google::Protobuf::MessageExts
|
|
114
129
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
130
|
+
|
|
131
|
+
# @!attribute [rw] key
|
|
132
|
+
# @return [::String]
|
|
133
|
+
# @!attribute [rw] value
|
|
134
|
+
# @return [::Google::Cloud::AppHub::V1::ExtendedMetadata]
|
|
135
|
+
class ExtendedMetadataEntry
|
|
136
|
+
include ::Google::Protobuf::MessageExts
|
|
137
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
138
|
+
end
|
|
115
139
|
end
|
|
116
140
|
|
|
117
141
|
# DiscoveredService is a network or API interface that exposes some
|
|
@@ -109,9 +109,30 @@ module Google
|
|
|
109
109
|
# @return [::String]
|
|
110
110
|
# Output only. The location that the underlying compute resource resides in
|
|
111
111
|
# if it is zonal (for example, us-west1-a).
|
|
112
|
+
# @!attribute [r] functional_type
|
|
113
|
+
# @return [::Google::Cloud::AppHub::V1::FunctionalType]
|
|
114
|
+
# Output only. The type of the workload.
|
|
115
|
+
# @!attribute [r] extended_metadata
|
|
116
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AppHub::V1::ExtendedMetadata}]
|
|
117
|
+
# Output only. Additional metadata specific to the resource type.
|
|
118
|
+
# The key is a string that identifies the type of metadata and the value is
|
|
119
|
+
# the metadata contents specific to that type.
|
|
120
|
+
# Key format: `apphub.googleapis.com/{metadataType}`
|
|
121
|
+
# @!attribute [r] identity
|
|
122
|
+
# @return [::Google::Cloud::AppHub::V1::Identity]
|
|
123
|
+
# Output only. The identity associated with the workload.
|
|
112
124
|
class WorkloadProperties
|
|
113
125
|
include ::Google::Protobuf::MessageExts
|
|
114
126
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
127
|
+
|
|
128
|
+
# @!attribute [rw] key
|
|
129
|
+
# @return [::String]
|
|
130
|
+
# @!attribute [rw] value
|
|
131
|
+
# @return [::Google::Cloud::AppHub::V1::ExtendedMetadata]
|
|
132
|
+
class ExtendedMetadataEntry
|
|
133
|
+
include ::Google::Protobuf::MessageExts
|
|
134
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
135
|
+
end
|
|
115
136
|
end
|
|
116
137
|
|
|
117
138
|
# DiscoveredWorkload is a binary deployment (such as managed instance groups
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
|
|
3
|
+
# Copyright 2026 Google LLC
|
|
4
|
+
#
|
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
6
|
+
# you may not use this file except in compliance with the License.
|
|
7
|
+
# You may obtain a copy of the License at
|
|
8
|
+
#
|
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
#
|
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
14
|
+
# See the License for the specific language governing permissions and
|
|
15
|
+
# limitations under the License.
|
|
16
|
+
|
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
module Google
|
|
21
|
+
module Protobuf
|
|
22
|
+
# `Struct` represents a structured data value, consisting of fields
|
|
23
|
+
# which map to dynamically typed values. In some languages, `Struct`
|
|
24
|
+
# might be supported by a native representation. For example, in
|
|
25
|
+
# scripting languages like JS a struct is represented as an
|
|
26
|
+
# object. The details of that representation are described together
|
|
27
|
+
# with the proto support for the language.
|
|
28
|
+
#
|
|
29
|
+
# The JSON representation for `Struct` is JSON object.
|
|
30
|
+
# @!attribute [rw] fields
|
|
31
|
+
# @return [::Google::Protobuf::Map{::String => ::Google::Protobuf::Value}]
|
|
32
|
+
# Unordered map of dynamically typed values.
|
|
33
|
+
class Struct
|
|
34
|
+
include ::Google::Protobuf::MessageExts
|
|
35
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
36
|
+
|
|
37
|
+
# @!attribute [rw] key
|
|
38
|
+
# @return [::String]
|
|
39
|
+
# @!attribute [rw] value
|
|
40
|
+
# @return [::Google::Protobuf::Value]
|
|
41
|
+
class FieldsEntry
|
|
42
|
+
include ::Google::Protobuf::MessageExts
|
|
43
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
|
|
47
|
+
# `Value` represents a dynamically typed value which can be either
|
|
48
|
+
# null, a number, a string, a boolean, a recursive struct value, or a
|
|
49
|
+
# list of values. A producer of value is expected to set one of these
|
|
50
|
+
# variants. Absence of any variant indicates an error.
|
|
51
|
+
#
|
|
52
|
+
# The JSON representation for `Value` is JSON value.
|
|
53
|
+
# @!attribute [rw] null_value
|
|
54
|
+
# @return [::Google::Protobuf::NullValue]
|
|
55
|
+
# Represents a null value.
|
|
56
|
+
#
|
|
57
|
+
# Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
58
|
+
# @!attribute [rw] number_value
|
|
59
|
+
# @return [::Float]
|
|
60
|
+
# Represents a double value.
|
|
61
|
+
#
|
|
62
|
+
# Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
63
|
+
# @!attribute [rw] string_value
|
|
64
|
+
# @return [::String]
|
|
65
|
+
# Represents a string value.
|
|
66
|
+
#
|
|
67
|
+
# Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
68
|
+
# @!attribute [rw] bool_value
|
|
69
|
+
# @return [::Boolean]
|
|
70
|
+
# Represents a boolean value.
|
|
71
|
+
#
|
|
72
|
+
# Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
73
|
+
# @!attribute [rw] struct_value
|
|
74
|
+
# @return [::Google::Protobuf::Struct]
|
|
75
|
+
# Represents a structured value.
|
|
76
|
+
#
|
|
77
|
+
# Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
78
|
+
# @!attribute [rw] list_value
|
|
79
|
+
# @return [::Google::Protobuf::ListValue]
|
|
80
|
+
# Represents a repeated `Value`.
|
|
81
|
+
#
|
|
82
|
+
# Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
83
|
+
class Value
|
|
84
|
+
include ::Google::Protobuf::MessageExts
|
|
85
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# `ListValue` is a wrapper around a repeated field of values.
|
|
89
|
+
#
|
|
90
|
+
# The JSON representation for `ListValue` is JSON array.
|
|
91
|
+
# @!attribute [rw] values
|
|
92
|
+
# @return [::Array<::Google::Protobuf::Value>]
|
|
93
|
+
# Repeated field of dynamically typed values.
|
|
94
|
+
class ListValue
|
|
95
|
+
include ::Google::Protobuf::MessageExts
|
|
96
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
97
|
+
end
|
|
98
|
+
|
|
99
|
+
# `NullValue` is a singleton enumeration to represent the null value for the
|
|
100
|
+
# `Value` type union.
|
|
101
|
+
#
|
|
102
|
+
# The JSON representation for `NullValue` is JSON `null`.
|
|
103
|
+
module NullValue
|
|
104
|
+
# Null value.
|
|
105
|
+
NULL_VALUE = 0
|
|
106
|
+
end
|
|
107
|
+
end
|
|
108
|
+
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-cloud-app_hub-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.9.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -15,14 +15,14 @@ dependencies:
|
|
|
15
15
|
requirements:
|
|
16
16
|
- - "~>"
|
|
17
17
|
- !ruby/object:Gem::Version
|
|
18
|
-
version: '1.
|
|
18
|
+
version: '1.6'
|
|
19
19
|
type: :runtime
|
|
20
20
|
prerelease: false
|
|
21
21
|
version_requirements: !ruby/object:Gem::Requirement
|
|
22
22
|
requirements:
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
|
-
version: '1.
|
|
25
|
+
version: '1.6'
|
|
26
26
|
- !ruby/object:Gem::Dependency
|
|
27
27
|
name: google-cloud-errors
|
|
28
28
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -96,6 +96,9 @@ files:
|
|
|
96
96
|
- lib/google/cloud/apphub/v1/apphub_service_services_pb.rb
|
|
97
97
|
- lib/google/cloud/apphub/v1/application_pb.rb
|
|
98
98
|
- lib/google/cloud/apphub/v1/attributes_pb.rb
|
|
99
|
+
- lib/google/cloud/apphub/v1/boundary_pb.rb
|
|
100
|
+
- lib/google/cloud/apphub/v1/extended_metadata_schema_pb.rb
|
|
101
|
+
- lib/google/cloud/apphub/v1/properties_pb.rb
|
|
99
102
|
- lib/google/cloud/apphub/v1/service_pb.rb
|
|
100
103
|
- lib/google/cloud/apphub/v1/service_project_attachment_pb.rb
|
|
101
104
|
- lib/google/cloud/apphub/v1/workload_pb.rb
|
|
@@ -108,6 +111,9 @@ files:
|
|
|
108
111
|
- proto_docs/google/cloud/apphub/v1/apphub_service.rb
|
|
109
112
|
- proto_docs/google/cloud/apphub/v1/application.rb
|
|
110
113
|
- proto_docs/google/cloud/apphub/v1/attributes.rb
|
|
114
|
+
- proto_docs/google/cloud/apphub/v1/boundary.rb
|
|
115
|
+
- proto_docs/google/cloud/apphub/v1/extended_metadata_schema.rb
|
|
116
|
+
- proto_docs/google/cloud/apphub/v1/properties.rb
|
|
111
117
|
- proto_docs/google/cloud/apphub/v1/service.rb
|
|
112
118
|
- proto_docs/google/cloud/apphub/v1/service_project_attachment.rb
|
|
113
119
|
- proto_docs/google/cloud/apphub/v1/workload.rb
|
|
@@ -116,6 +122,7 @@ files:
|
|
|
116
122
|
- proto_docs/google/protobuf/duration.rb
|
|
117
123
|
- proto_docs/google/protobuf/empty.rb
|
|
118
124
|
- proto_docs/google/protobuf/field_mask.rb
|
|
125
|
+
- proto_docs/google/protobuf/struct.rb
|
|
119
126
|
- proto_docs/google/protobuf/timestamp.rb
|
|
120
127
|
- proto_docs/google/rpc/status.rb
|
|
121
128
|
homepage: https://github.com/googleapis/google-cloud-ruby
|