google-apis-developerconnect_v1 0.9.0 → 0.10.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/CHANGELOG.md +5 -0
- data/lib/google/apis/developerconnect_v1/classes.rb +300 -0
- data/lib/google/apis/developerconnect_v1/gem_version.rb +3 -3
- data/lib/google/apis/developerconnect_v1/representations.rb +133 -0
- data/lib/google/apis/developerconnect_v1/service.rb +221 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 875c79bcc564eb65291dc1fe279f1737bd7f1e1e1f7a461e1b8ded66b95c7f56
|
4
|
+
data.tar.gz: 0c75c76c9b213ced4f0ee6b3767927f742cb8435ccc0d9ee74c34735cccda44d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c74c944c83065852c29ad1957ee939d2d37729c662dfaa4f5503b9c1069542b832e8db2c1d07000753e7bcd0456ca6c09ada89f27109c3c0f3f09a55ffac3b0e
|
7
|
+
data.tar.gz: 3ae477814026d171e235fae5085e2d9b59fc2d7294675997179899fd3496babbcd85d7fccc49d41dab56a44a1a63d3ec28079f959077e5c88a8130a5e698f5cb
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
1
|
# Release history for google-apis-developerconnect_v1
|
2
2
|
|
3
|
+
### v0.10.0 (2025-06-08)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250530
|
6
|
+
* Regenerated using generator version 0.18.0
|
7
|
+
|
3
8
|
### v0.9.0 (2025-05-04)
|
4
9
|
|
5
10
|
* Regenerated using generator version 0.17.0
|
@@ -89,6 +89,72 @@ module Google
|
|
89
89
|
end
|
90
90
|
end
|
91
91
|
|
92
|
+
# AppHubWorkload represents the App Hub Workload.
|
93
|
+
class AppHubWorkload
|
94
|
+
include Google::Apis::Core::Hashable
|
95
|
+
|
96
|
+
# Output only. The criticality of the App Hub Workload.
|
97
|
+
# Corresponds to the JSON property `criticality`
|
98
|
+
# @return [String]
|
99
|
+
attr_accessor :criticality
|
100
|
+
|
101
|
+
# Output only. The environment of the App Hub Workload.
|
102
|
+
# Corresponds to the JSON property `environment`
|
103
|
+
# @return [String]
|
104
|
+
attr_accessor :environment
|
105
|
+
|
106
|
+
# Required. Output only. Immutable. The name of the App Hub Workload. Format: `
|
107
|
+
# projects/`project`/locations/`location`/applications/`application`/workloads/`
|
108
|
+
# workload``.
|
109
|
+
# Corresponds to the JSON property `workload`
|
110
|
+
# @return [String]
|
111
|
+
attr_accessor :workload
|
112
|
+
|
113
|
+
def initialize(**args)
|
114
|
+
update!(**args)
|
115
|
+
end
|
116
|
+
|
117
|
+
# Update properties of this object
|
118
|
+
def update!(**args)
|
119
|
+
@criticality = args[:criticality] if args.key?(:criticality)
|
120
|
+
@environment = args[:environment] if args.key?(:environment)
|
121
|
+
@workload = args[:workload] if args.key?(:workload)
|
122
|
+
end
|
123
|
+
end
|
124
|
+
|
125
|
+
# The artifact config of the artifact that is deployed.
|
126
|
+
class ArtifactConfig
|
127
|
+
include Google::Apis::Core::Hashable
|
128
|
+
|
129
|
+
# Google Artifact Analysis configurations.
|
130
|
+
# Corresponds to the JSON property `googleArtifactAnalysis`
|
131
|
+
# @return [Google::Apis::DeveloperconnectV1::GoogleArtifactAnalysis]
|
132
|
+
attr_accessor :google_artifact_analysis
|
133
|
+
|
134
|
+
# Google Artifact Registry configurations.
|
135
|
+
# Corresponds to the JSON property `googleArtifactRegistry`
|
136
|
+
# @return [Google::Apis::DeveloperconnectV1::GoogleArtifactRegistry]
|
137
|
+
attr_accessor :google_artifact_registry
|
138
|
+
|
139
|
+
# Required. Immutable. The URI of the artifact that is deployed. e.g. `us-docker.
|
140
|
+
# pkg.dev/my-project/my-repo/image`. The URI does not include the tag / digest
|
141
|
+
# because it captures a lineage of artifacts.
|
142
|
+
# Corresponds to the JSON property `uri`
|
143
|
+
# @return [String]
|
144
|
+
attr_accessor :uri
|
145
|
+
|
146
|
+
def initialize(**args)
|
147
|
+
update!(**args)
|
148
|
+
end
|
149
|
+
|
150
|
+
# Update properties of this object
|
151
|
+
def update!(**args)
|
152
|
+
@google_artifact_analysis = args[:google_artifact_analysis] if args.key?(:google_artifact_analysis)
|
153
|
+
@google_artifact_registry = args[:google_artifact_registry] if args.key?(:google_artifact_registry)
|
154
|
+
@uri = args[:uri] if args.key?(:uri)
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
92
158
|
# Configuration for connections to an instance of Bitbucket Cloud.
|
93
159
|
class BitbucketCloudConfig
|
94
160
|
include Google::Apis::Core::Hashable
|
@@ -616,6 +682,34 @@ module Google
|
|
616
682
|
end
|
617
683
|
end
|
618
684
|
|
685
|
+
# GKEWorkload represents the Google Kubernetes Engine runtime.
|
686
|
+
class GkeWorkload
|
687
|
+
include Google::Apis::Core::Hashable
|
688
|
+
|
689
|
+
# Required. Immutable. The name of the GKE cluster. Format: `projects/`project`/
|
690
|
+
# locations/`location`/clusters/`cluster``.
|
691
|
+
# Corresponds to the JSON property `cluster`
|
692
|
+
# @return [String]
|
693
|
+
attr_accessor :cluster
|
694
|
+
|
695
|
+
# Output only. The name of the GKE deployment. Format: `projects/`project`/
|
696
|
+
# locations/`location`/clusters/`cluster`/namespaces/`namespace`/deployments/`
|
697
|
+
# deployment``.
|
698
|
+
# Corresponds to the JSON property `deployment`
|
699
|
+
# @return [String]
|
700
|
+
attr_accessor :deployment
|
701
|
+
|
702
|
+
def initialize(**args)
|
703
|
+
update!(**args)
|
704
|
+
end
|
705
|
+
|
706
|
+
# Update properties of this object
|
707
|
+
def update!(**args)
|
708
|
+
@cluster = args[:cluster] if args.key?(:cluster)
|
709
|
+
@deployment = args[:deployment] if args.key?(:deployment)
|
710
|
+
end
|
711
|
+
end
|
712
|
+
|
619
713
|
# Configuration for connections to github.com.
|
620
714
|
class GitHubConfig
|
621
715
|
include Google::Apis::Core::Hashable
|
@@ -941,6 +1035,50 @@ module Google
|
|
941
1035
|
end
|
942
1036
|
end
|
943
1037
|
|
1038
|
+
# Google Artifact Analysis configurations.
|
1039
|
+
class GoogleArtifactAnalysis
|
1040
|
+
include Google::Apis::Core::Hashable
|
1041
|
+
|
1042
|
+
# Required. The project id of the project where the provenance is stored.
|
1043
|
+
# Corresponds to the JSON property `projectId`
|
1044
|
+
# @return [String]
|
1045
|
+
attr_accessor :project_id
|
1046
|
+
|
1047
|
+
def initialize(**args)
|
1048
|
+
update!(**args)
|
1049
|
+
end
|
1050
|
+
|
1051
|
+
# Update properties of this object
|
1052
|
+
def update!(**args)
|
1053
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
1054
|
+
end
|
1055
|
+
end
|
1056
|
+
|
1057
|
+
# Google Artifact Registry configurations.
|
1058
|
+
class GoogleArtifactRegistry
|
1059
|
+
include Google::Apis::Core::Hashable
|
1060
|
+
|
1061
|
+
# Required. Immutable. The name of the artifact registry package.
|
1062
|
+
# Corresponds to the JSON property `artifactRegistryPackage`
|
1063
|
+
# @return [String]
|
1064
|
+
attr_accessor :artifact_registry_package
|
1065
|
+
|
1066
|
+
# Required. The host project of Artifact Registry.
|
1067
|
+
# Corresponds to the JSON property `projectId`
|
1068
|
+
# @return [String]
|
1069
|
+
attr_accessor :project_id
|
1070
|
+
|
1071
|
+
def initialize(**args)
|
1072
|
+
update!(**args)
|
1073
|
+
end
|
1074
|
+
|
1075
|
+
# Update properties of this object
|
1076
|
+
def update!(**args)
|
1077
|
+
@artifact_registry_package = args[:artifact_registry_package] if args.key?(:artifact_registry_package)
|
1078
|
+
@project_id = args[:project_id] if args.key?(:project_id)
|
1079
|
+
end
|
1080
|
+
end
|
1081
|
+
|
944
1082
|
# Message that represents an arbitrary HTTP body. It should only be used for
|
945
1083
|
# payload formats that can't be represented as JSON, such as raw binary or an
|
946
1084
|
# HTML page. This message can be used both in streaming and non-streaming API
|
@@ -989,6 +1127,99 @@ module Google
|
|
989
1127
|
end
|
990
1128
|
end
|
991
1129
|
|
1130
|
+
# The InsightsConfig resource is the core configuration object to capture events
|
1131
|
+
# from your Software Development Lifecycle. It acts as the central hub for
|
1132
|
+
# managing how Developer connect understands your application, its runtime
|
1133
|
+
# environments, and the artifacts deployed within them.
|
1134
|
+
class InsightsConfig
|
1135
|
+
include Google::Apis::Core::Hashable
|
1136
|
+
|
1137
|
+
# Optional. User specified annotations. See https://google.aip.dev/148#
|
1138
|
+
# annotations for more details such as format and size limitations.
|
1139
|
+
# Corresponds to the JSON property `annotations`
|
1140
|
+
# @return [Hash<String,String>]
|
1141
|
+
attr_accessor :annotations
|
1142
|
+
|
1143
|
+
# Optional. The name of the App Hub Application. Format: projects/`project`/
|
1144
|
+
# locations/`location`/applications/`application`
|
1145
|
+
# Corresponds to the JSON property `appHubApplication`
|
1146
|
+
# @return [String]
|
1147
|
+
attr_accessor :app_hub_application
|
1148
|
+
|
1149
|
+
# Optional. The artifact configurations of the artifacts that are deployed.
|
1150
|
+
# Corresponds to the JSON property `artifactConfigs`
|
1151
|
+
# @return [Array<Google::Apis::DeveloperconnectV1::ArtifactConfig>]
|
1152
|
+
attr_accessor :artifact_configs
|
1153
|
+
|
1154
|
+
# Output only. [Output only] Create timestamp
|
1155
|
+
# Corresponds to the JSON property `createTime`
|
1156
|
+
# @return [String]
|
1157
|
+
attr_accessor :create_time
|
1158
|
+
|
1159
|
+
# Output only. Any errors that occurred while setting up the InsightsConfig.
|
1160
|
+
# Each error will be in the format: `field_name: error_message`, e.g.
|
1161
|
+
# GetAppHubApplication: Permission denied while getting App Hub application.
|
1162
|
+
# Please grant permissions to the P4SA.
|
1163
|
+
# Corresponds to the JSON property `errors`
|
1164
|
+
# @return [Array<Google::Apis::DeveloperconnectV1::Status>]
|
1165
|
+
attr_accessor :errors
|
1166
|
+
|
1167
|
+
# Optional. Set of labels associated with an InsightsConfig.
|
1168
|
+
# Corresponds to the JSON property `labels`
|
1169
|
+
# @return [Hash<String,String>]
|
1170
|
+
attr_accessor :labels
|
1171
|
+
|
1172
|
+
# Identifier. The name of the InsightsConfig. Format: projects/`project`/
|
1173
|
+
# locations/`location`/insightsConfigs/`insightsConfig`
|
1174
|
+
# Corresponds to the JSON property `name`
|
1175
|
+
# @return [String]
|
1176
|
+
attr_accessor :name
|
1177
|
+
|
1178
|
+
# Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to
|
1179
|
+
# true if the current state of InsightsConfig does not match the user's intended
|
1180
|
+
# state, and the service is actively updating the resource to reconcile them.
|
1181
|
+
# This can happen due to user-triggered updates or system actions like failover
|
1182
|
+
# or maintenance.
|
1183
|
+
# Corresponds to the JSON property `reconciling`
|
1184
|
+
# @return [Boolean]
|
1185
|
+
attr_accessor :reconciling
|
1186
|
+
alias_method :reconciling?, :reconciling
|
1187
|
+
|
1188
|
+
# Output only. The runtime configurations where the application is deployed.
|
1189
|
+
# Corresponds to the JSON property `runtimeConfigs`
|
1190
|
+
# @return [Array<Google::Apis::DeveloperconnectV1::RuntimeConfig>]
|
1191
|
+
attr_accessor :runtime_configs
|
1192
|
+
|
1193
|
+
# Optional. Output only. The state of the InsightsConfig.
|
1194
|
+
# Corresponds to the JSON property `state`
|
1195
|
+
# @return [String]
|
1196
|
+
attr_accessor :state
|
1197
|
+
|
1198
|
+
# Output only. [Output only] Update timestamp
|
1199
|
+
# Corresponds to the JSON property `updateTime`
|
1200
|
+
# @return [String]
|
1201
|
+
attr_accessor :update_time
|
1202
|
+
|
1203
|
+
def initialize(**args)
|
1204
|
+
update!(**args)
|
1205
|
+
end
|
1206
|
+
|
1207
|
+
# Update properties of this object
|
1208
|
+
def update!(**args)
|
1209
|
+
@annotations = args[:annotations] if args.key?(:annotations)
|
1210
|
+
@app_hub_application = args[:app_hub_application] if args.key?(:app_hub_application)
|
1211
|
+
@artifact_configs = args[:artifact_configs] if args.key?(:artifact_configs)
|
1212
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
1213
|
+
@errors = args[:errors] if args.key?(:errors)
|
1214
|
+
@labels = args[:labels] if args.key?(:labels)
|
1215
|
+
@name = args[:name] if args.key?(:name)
|
1216
|
+
@reconciling = args[:reconciling] if args.key?(:reconciling)
|
1217
|
+
@runtime_configs = args[:runtime_configs] if args.key?(:runtime_configs)
|
1218
|
+
@state = args[:state] if args.key?(:state)
|
1219
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
1220
|
+
end
|
1221
|
+
end
|
1222
|
+
|
992
1223
|
# Represents an installation of the GitHub App.
|
993
1224
|
class Installation
|
994
1225
|
include Google::Apis::Core::Hashable
|
@@ -1167,6 +1398,37 @@ module Google
|
|
1167
1398
|
end
|
1168
1399
|
end
|
1169
1400
|
|
1401
|
+
# Request for response to listing InsightsConfigs.
|
1402
|
+
class ListInsightsConfigsResponse
|
1403
|
+
include Google::Apis::Core::Hashable
|
1404
|
+
|
1405
|
+
# The list of InsightsConfigs.
|
1406
|
+
# Corresponds to the JSON property `insightsConfigs`
|
1407
|
+
# @return [Array<Google::Apis::DeveloperconnectV1::InsightsConfig>]
|
1408
|
+
attr_accessor :insights_configs
|
1409
|
+
|
1410
|
+
# A token identifying a page of results the server should return.
|
1411
|
+
# Corresponds to the JSON property `nextPageToken`
|
1412
|
+
# @return [String]
|
1413
|
+
attr_accessor :next_page_token
|
1414
|
+
|
1415
|
+
# Locations that could not be reached.
|
1416
|
+
# Corresponds to the JSON property `unreachable`
|
1417
|
+
# @return [Array<String>]
|
1418
|
+
attr_accessor :unreachable
|
1419
|
+
|
1420
|
+
def initialize(**args)
|
1421
|
+
update!(**args)
|
1422
|
+
end
|
1423
|
+
|
1424
|
+
# Update properties of this object
|
1425
|
+
def update!(**args)
|
1426
|
+
@insights_configs = args[:insights_configs] if args.key?(:insights_configs)
|
1427
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
1428
|
+
@unreachable = args[:unreachable] if args.key?(:unreachable)
|
1429
|
+
end
|
1430
|
+
end
|
1431
|
+
|
1170
1432
|
# The response message for Locations.ListLocations.
|
1171
1433
|
class ListLocationsResponse
|
1172
1434
|
include Google::Apis::Core::Hashable
|
@@ -1641,6 +1903,44 @@ module Google
|
|
1641
1903
|
end
|
1642
1904
|
end
|
1643
1905
|
|
1906
|
+
# RuntimeConfig represents the runtimes where the application is deployed.
|
1907
|
+
class RuntimeConfig
|
1908
|
+
include Google::Apis::Core::Hashable
|
1909
|
+
|
1910
|
+
# AppHubWorkload represents the App Hub Workload.
|
1911
|
+
# Corresponds to the JSON property `appHubWorkload`
|
1912
|
+
# @return [Google::Apis::DeveloperconnectV1::AppHubWorkload]
|
1913
|
+
attr_accessor :app_hub_workload
|
1914
|
+
|
1915
|
+
# GKEWorkload represents the Google Kubernetes Engine runtime.
|
1916
|
+
# Corresponds to the JSON property `gkeWorkload`
|
1917
|
+
# @return [Google::Apis::DeveloperconnectV1::GkeWorkload]
|
1918
|
+
attr_accessor :gke_workload
|
1919
|
+
|
1920
|
+
# Output only. The state of the Runtime.
|
1921
|
+
# Corresponds to the JSON property `state`
|
1922
|
+
# @return [String]
|
1923
|
+
attr_accessor :state
|
1924
|
+
|
1925
|
+
# Required. Immutable. The URI of the runtime configuration. For GKE, this is
|
1926
|
+
# the cluster name. For Cloud Run, this is the service name.
|
1927
|
+
# Corresponds to the JSON property `uri`
|
1928
|
+
# @return [String]
|
1929
|
+
attr_accessor :uri
|
1930
|
+
|
1931
|
+
def initialize(**args)
|
1932
|
+
update!(**args)
|
1933
|
+
end
|
1934
|
+
|
1935
|
+
# Update properties of this object
|
1936
|
+
def update!(**args)
|
1937
|
+
@app_hub_workload = args[:app_hub_workload] if args.key?(:app_hub_workload)
|
1938
|
+
@gke_workload = args[:gke_workload] if args.key?(:gke_workload)
|
1939
|
+
@state = args[:state] if args.key?(:state)
|
1940
|
+
@uri = args[:uri] if args.key?(:uri)
|
1941
|
+
end
|
1942
|
+
end
|
1943
|
+
|
1644
1944
|
# ServiceDirectoryConfig represents Service Directory configuration for a
|
1645
1945
|
# connection.
|
1646
1946
|
class ServiceDirectoryConfig
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module DeveloperconnectV1
|
18
18
|
# Version of the google-apis-developerconnect_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.10.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250530"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -28,6 +28,18 @@ module Google
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
29
29
|
end
|
30
30
|
|
31
|
+
class AppHubWorkload
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
|
+
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
35
|
+
end
|
36
|
+
|
37
|
+
class ArtifactConfig
|
38
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
39
|
+
|
40
|
+
include Google::Apis::Core::JsonObjectSupport
|
41
|
+
end
|
42
|
+
|
31
43
|
class BitbucketCloudConfig
|
32
44
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
33
45
|
|
@@ -124,6 +136,12 @@ module Google
|
|
124
136
|
include Google::Apis::Core::JsonObjectSupport
|
125
137
|
end
|
126
138
|
|
139
|
+
class GkeWorkload
|
140
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
+
|
142
|
+
include Google::Apis::Core::JsonObjectSupport
|
143
|
+
end
|
144
|
+
|
127
145
|
class GitHubConfig
|
128
146
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
129
147
|
|
@@ -160,12 +178,30 @@ module Google
|
|
160
178
|
include Google::Apis::Core::JsonObjectSupport
|
161
179
|
end
|
162
180
|
|
181
|
+
class GoogleArtifactAnalysis
|
182
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
+
|
184
|
+
include Google::Apis::Core::JsonObjectSupport
|
185
|
+
end
|
186
|
+
|
187
|
+
class GoogleArtifactRegistry
|
188
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
+
|
190
|
+
include Google::Apis::Core::JsonObjectSupport
|
191
|
+
end
|
192
|
+
|
163
193
|
class HttpBody
|
164
194
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
195
|
|
166
196
|
include Google::Apis::Core::JsonObjectSupport
|
167
197
|
end
|
168
198
|
|
199
|
+
class InsightsConfig
|
200
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
201
|
+
|
202
|
+
include Google::Apis::Core::JsonObjectSupport
|
203
|
+
end
|
204
|
+
|
169
205
|
class Installation
|
170
206
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
207
|
|
@@ -202,6 +238,12 @@ module Google
|
|
202
238
|
include Google::Apis::Core::JsonObjectSupport
|
203
239
|
end
|
204
240
|
|
241
|
+
class ListInsightsConfigsResponse
|
242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
243
|
+
|
244
|
+
include Google::Apis::Core::JsonObjectSupport
|
245
|
+
end
|
246
|
+
|
205
247
|
class ListLocationsResponse
|
206
248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
249
|
|
@@ -280,6 +322,12 @@ module Google
|
|
280
322
|
include Google::Apis::Core::JsonObjectSupport
|
281
323
|
end
|
282
324
|
|
325
|
+
class RuntimeConfig
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
283
331
|
class ServiceDirectoryConfig
|
284
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
285
333
|
|
@@ -319,6 +367,26 @@ module Google
|
|
319
367
|
end
|
320
368
|
end
|
321
369
|
|
370
|
+
class AppHubWorkload
|
371
|
+
# @private
|
372
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
373
|
+
property :criticality, as: 'criticality'
|
374
|
+
property :environment, as: 'environment'
|
375
|
+
property :workload, as: 'workload'
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
class ArtifactConfig
|
380
|
+
# @private
|
381
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
382
|
+
property :google_artifact_analysis, as: 'googleArtifactAnalysis', class: Google::Apis::DeveloperconnectV1::GoogleArtifactAnalysis, decorator: Google::Apis::DeveloperconnectV1::GoogleArtifactAnalysis::Representation
|
383
|
+
|
384
|
+
property :google_artifact_registry, as: 'googleArtifactRegistry', class: Google::Apis::DeveloperconnectV1::GoogleArtifactRegistry, decorator: Google::Apis::DeveloperconnectV1::GoogleArtifactRegistry::Representation
|
385
|
+
|
386
|
+
property :uri, as: 'uri'
|
387
|
+
end
|
388
|
+
end
|
389
|
+
|
322
390
|
class BitbucketCloudConfig
|
323
391
|
# @private
|
324
392
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -480,6 +548,14 @@ module Google
|
|
480
548
|
end
|
481
549
|
end
|
482
550
|
|
551
|
+
class GkeWorkload
|
552
|
+
# @private
|
553
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
554
|
+
property :cluster, as: 'cluster'
|
555
|
+
property :deployment, as: 'deployment'
|
556
|
+
end
|
557
|
+
end
|
558
|
+
|
483
559
|
class GitHubConfig
|
484
560
|
# @private
|
485
561
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -560,6 +636,21 @@ module Google
|
|
560
636
|
end
|
561
637
|
end
|
562
638
|
|
639
|
+
class GoogleArtifactAnalysis
|
640
|
+
# @private
|
641
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
642
|
+
property :project_id, as: 'projectId'
|
643
|
+
end
|
644
|
+
end
|
645
|
+
|
646
|
+
class GoogleArtifactRegistry
|
647
|
+
# @private
|
648
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
649
|
+
property :artifact_registry_package, as: 'artifactRegistryPackage'
|
650
|
+
property :project_id, as: 'projectId'
|
651
|
+
end
|
652
|
+
end
|
653
|
+
|
563
654
|
class HttpBody
|
564
655
|
# @private
|
565
656
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -569,6 +660,26 @@ module Google
|
|
569
660
|
end
|
570
661
|
end
|
571
662
|
|
663
|
+
class InsightsConfig
|
664
|
+
# @private
|
665
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
666
|
+
hash :annotations, as: 'annotations'
|
667
|
+
property :app_hub_application, as: 'appHubApplication'
|
668
|
+
collection :artifact_configs, as: 'artifactConfigs', class: Google::Apis::DeveloperconnectV1::ArtifactConfig, decorator: Google::Apis::DeveloperconnectV1::ArtifactConfig::Representation
|
669
|
+
|
670
|
+
property :create_time, as: 'createTime'
|
671
|
+
collection :errors, as: 'errors', class: Google::Apis::DeveloperconnectV1::Status, decorator: Google::Apis::DeveloperconnectV1::Status::Representation
|
672
|
+
|
673
|
+
hash :labels, as: 'labels'
|
674
|
+
property :name, as: 'name'
|
675
|
+
property :reconciling, as: 'reconciling'
|
676
|
+
collection :runtime_configs, as: 'runtimeConfigs', class: Google::Apis::DeveloperconnectV1::RuntimeConfig, decorator: Google::Apis::DeveloperconnectV1::RuntimeConfig::Representation
|
677
|
+
|
678
|
+
property :state, as: 'state'
|
679
|
+
property :update_time, as: 'updateTime'
|
680
|
+
end
|
681
|
+
end
|
682
|
+
|
572
683
|
class Installation
|
573
684
|
# @private
|
574
685
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -624,6 +735,16 @@ module Google
|
|
624
735
|
end
|
625
736
|
end
|
626
737
|
|
738
|
+
class ListInsightsConfigsResponse
|
739
|
+
# @private
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
741
|
+
collection :insights_configs, as: 'insightsConfigs', class: Google::Apis::DeveloperconnectV1::InsightsConfig, decorator: Google::Apis::DeveloperconnectV1::InsightsConfig::Representation
|
742
|
+
|
743
|
+
property :next_page_token, as: 'nextPageToken'
|
744
|
+
collection :unreachable, as: 'unreachable'
|
745
|
+
end
|
746
|
+
end
|
747
|
+
|
627
748
|
class ListLocationsResponse
|
628
749
|
# @private
|
629
750
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -744,6 +865,18 @@ module Google
|
|
744
865
|
end
|
745
866
|
end
|
746
867
|
|
868
|
+
class RuntimeConfig
|
869
|
+
# @private
|
870
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
871
|
+
property :app_hub_workload, as: 'appHubWorkload', class: Google::Apis::DeveloperconnectV1::AppHubWorkload, decorator: Google::Apis::DeveloperconnectV1::AppHubWorkload::Representation
|
872
|
+
|
873
|
+
property :gke_workload, as: 'gkeWorkload', class: Google::Apis::DeveloperconnectV1::GkeWorkload, decorator: Google::Apis::DeveloperconnectV1::GkeWorkload::Representation
|
874
|
+
|
875
|
+
property :state, as: 'state'
|
876
|
+
property :uri, as: 'uri'
|
877
|
+
end
|
878
|
+
end
|
879
|
+
|
747
880
|
class ServiceDirectoryConfig
|
748
881
|
# @private
|
749
882
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1326,6 +1326,227 @@ module Google
|
|
1326
1326
|
execute_or_queue_command(command, &block)
|
1327
1327
|
end
|
1328
1328
|
|
1329
|
+
# Creates a new InsightsConfig in a given project and location.
|
1330
|
+
# @param [String] parent
|
1331
|
+
# Required. Value for parent.
|
1332
|
+
# @param [Google::Apis::DeveloperconnectV1::InsightsConfig] insights_config_object
|
1333
|
+
# @param [String] insights_config_id
|
1334
|
+
# Required. ID of the requesting InsightsConfig.
|
1335
|
+
# @param [Boolean] validate_only
|
1336
|
+
# Optional. If set, validate the request, but do not actually post it.
|
1337
|
+
# @param [String] fields
|
1338
|
+
# Selector specifying which fields to include in a partial response.
|
1339
|
+
# @param [String] quota_user
|
1340
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1341
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1342
|
+
# @param [Google::Apis::RequestOptions] options
|
1343
|
+
# Request-specific options
|
1344
|
+
#
|
1345
|
+
# @yield [result, err] Result & error if block supplied
|
1346
|
+
# @yieldparam result [Google::Apis::DeveloperconnectV1::Operation] parsed result object
|
1347
|
+
# @yieldparam err [StandardError] error object if request failed
|
1348
|
+
#
|
1349
|
+
# @return [Google::Apis::DeveloperconnectV1::Operation]
|
1350
|
+
#
|
1351
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1352
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1353
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1354
|
+
def create_project_location_insights_config(parent, insights_config_object = nil, insights_config_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1355
|
+
command = make_simple_command(:post, 'v1/{+parent}/insightsConfigs', options)
|
1356
|
+
command.request_representation = Google::Apis::DeveloperconnectV1::InsightsConfig::Representation
|
1357
|
+
command.request_object = insights_config_object
|
1358
|
+
command.response_representation = Google::Apis::DeveloperconnectV1::Operation::Representation
|
1359
|
+
command.response_class = Google::Apis::DeveloperconnectV1::Operation
|
1360
|
+
command.params['parent'] = parent unless parent.nil?
|
1361
|
+
command.query['insightsConfigId'] = insights_config_id unless insights_config_id.nil?
|
1362
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
1363
|
+
command.query['fields'] = fields unless fields.nil?
|
1364
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1365
|
+
execute_or_queue_command(command, &block)
|
1366
|
+
end
|
1367
|
+
|
1368
|
+
# Delete a single Insight.
|
1369
|
+
# @param [String] name
|
1370
|
+
# Required. Value for parent.
|
1371
|
+
# @param [String] etag
|
1372
|
+
# Optional. This checksum is computed by the server based on the value of other
|
1373
|
+
# fields, and may be sent on update and delete requests to ensure the client has
|
1374
|
+
# an up-to-date value before proceeding.
|
1375
|
+
# @param [String] request_id
|
1376
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1377
|
+
# request ID so that if you must retry your request, the server will know to
|
1378
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1379
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
1380
|
+
# situation where you make an initial request and the request times out. If you
|
1381
|
+
# make the request again with the same request ID, the server can check if
|
1382
|
+
# original operation with the same request ID was received, and if so, will
|
1383
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1384
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1385
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1386
|
+
# @param [Boolean] validate_only
|
1387
|
+
# Optional. If set, validate the request, but do not actually post it.
|
1388
|
+
# @param [String] fields
|
1389
|
+
# Selector specifying which fields to include in a partial response.
|
1390
|
+
# @param [String] quota_user
|
1391
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1392
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1393
|
+
# @param [Google::Apis::RequestOptions] options
|
1394
|
+
# Request-specific options
|
1395
|
+
#
|
1396
|
+
# @yield [result, err] Result & error if block supplied
|
1397
|
+
# @yieldparam result [Google::Apis::DeveloperconnectV1::Operation] parsed result object
|
1398
|
+
# @yieldparam err [StandardError] error object if request failed
|
1399
|
+
#
|
1400
|
+
# @return [Google::Apis::DeveloperconnectV1::Operation]
|
1401
|
+
#
|
1402
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1403
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1404
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1405
|
+
def delete_project_location_insights_config(name, etag: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1406
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
1407
|
+
command.response_representation = Google::Apis::DeveloperconnectV1::Operation::Representation
|
1408
|
+
command.response_class = Google::Apis::DeveloperconnectV1::Operation
|
1409
|
+
command.params['name'] = name unless name.nil?
|
1410
|
+
command.query['etag'] = etag unless etag.nil?
|
1411
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1412
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
1413
|
+
command.query['fields'] = fields unless fields.nil?
|
1414
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1415
|
+
execute_or_queue_command(command, &block)
|
1416
|
+
end
|
1417
|
+
|
1418
|
+
# Gets details of a single Insight.
|
1419
|
+
# @param [String] name
|
1420
|
+
# Required. Name of the resource.
|
1421
|
+
# @param [String] fields
|
1422
|
+
# Selector specifying which fields to include in a partial response.
|
1423
|
+
# @param [String] quota_user
|
1424
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1425
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1426
|
+
# @param [Google::Apis::RequestOptions] options
|
1427
|
+
# Request-specific options
|
1428
|
+
#
|
1429
|
+
# @yield [result, err] Result & error if block supplied
|
1430
|
+
# @yieldparam result [Google::Apis::DeveloperconnectV1::InsightsConfig] parsed result object
|
1431
|
+
# @yieldparam err [StandardError] error object if request failed
|
1432
|
+
#
|
1433
|
+
# @return [Google::Apis::DeveloperconnectV1::InsightsConfig]
|
1434
|
+
#
|
1435
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1436
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1437
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1438
|
+
def get_project_location_insights_config(name, fields: nil, quota_user: nil, options: nil, &block)
|
1439
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1440
|
+
command.response_representation = Google::Apis::DeveloperconnectV1::InsightsConfig::Representation
|
1441
|
+
command.response_class = Google::Apis::DeveloperconnectV1::InsightsConfig
|
1442
|
+
command.params['name'] = name unless name.nil?
|
1443
|
+
command.query['fields'] = fields unless fields.nil?
|
1444
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1445
|
+
execute_or_queue_command(command, &block)
|
1446
|
+
end
|
1447
|
+
|
1448
|
+
# Lists InsightsConfigs in a given project and location.
|
1449
|
+
# @param [String] parent
|
1450
|
+
# Required. Parent value for ListInsightsConfigsRequest.
|
1451
|
+
# @param [String] filter
|
1452
|
+
# Optional. Filtering results. See https://google.aip.dev/160 for more details.
|
1453
|
+
# Filter string, adhering to the rules in https://google.aip.dev/160. List only
|
1454
|
+
# InsightsConfigs matching the filter. If filter is empty, all InsightsConfigs
|
1455
|
+
# are listed.
|
1456
|
+
# @param [String] order_by
|
1457
|
+
# Optional. Hint for how to order the results.
|
1458
|
+
# @param [Fixnum] page_size
|
1459
|
+
# Optional. Requested page size. Server may return fewer items than requested.
|
1460
|
+
# If unspecified, server will pick an appropriate default.
|
1461
|
+
# @param [String] page_token
|
1462
|
+
# Optional. A token identifying a page of results the server should return.
|
1463
|
+
# @param [String] fields
|
1464
|
+
# Selector specifying which fields to include in a partial response.
|
1465
|
+
# @param [String] quota_user
|
1466
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1467
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1468
|
+
# @param [Google::Apis::RequestOptions] options
|
1469
|
+
# Request-specific options
|
1470
|
+
#
|
1471
|
+
# @yield [result, err] Result & error if block supplied
|
1472
|
+
# @yieldparam result [Google::Apis::DeveloperconnectV1::ListInsightsConfigsResponse] parsed result object
|
1473
|
+
# @yieldparam err [StandardError] error object if request failed
|
1474
|
+
#
|
1475
|
+
# @return [Google::Apis::DeveloperconnectV1::ListInsightsConfigsResponse]
|
1476
|
+
#
|
1477
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1478
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1479
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1480
|
+
def list_project_location_insights_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1481
|
+
command = make_simple_command(:get, 'v1/{+parent}/insightsConfigs', options)
|
1482
|
+
command.response_representation = Google::Apis::DeveloperconnectV1::ListInsightsConfigsResponse::Representation
|
1483
|
+
command.response_class = Google::Apis::DeveloperconnectV1::ListInsightsConfigsResponse
|
1484
|
+
command.params['parent'] = parent unless parent.nil?
|
1485
|
+
command.query['filter'] = filter unless filter.nil?
|
1486
|
+
command.query['orderBy'] = order_by unless order_by.nil?
|
1487
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
1488
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
1489
|
+
command.query['fields'] = fields unless fields.nil?
|
1490
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1491
|
+
execute_or_queue_command(command, &block)
|
1492
|
+
end
|
1493
|
+
|
1494
|
+
# Updates the parameters of a single InsightsConfig.
|
1495
|
+
# @param [String] name
|
1496
|
+
# Identifier. The name of the InsightsConfig. Format: projects/`project`/
|
1497
|
+
# locations/`location`/insightsConfigs/`insightsConfig`
|
1498
|
+
# @param [Google::Apis::DeveloperconnectV1::InsightsConfig] insights_config_object
|
1499
|
+
# @param [Boolean] allow_missing
|
1500
|
+
# Optional. If set to true, and the insightsConfig is not found a new
|
1501
|
+
# insightsConfig will be created. In this situation `update_mask` is ignored.
|
1502
|
+
# The creation will succeed only if the input insightsConfig has all the
|
1503
|
+
# necessary information (e.g a github_config with both user_oauth_token and
|
1504
|
+
# installation_id properties).
|
1505
|
+
# @param [String] request_id
|
1506
|
+
# Optional. An optional request ID to identify requests. Specify a unique
|
1507
|
+
# request ID so that if you must retry your request, the server will know to
|
1508
|
+
# ignore the request if it has already been completed. The server will guarantee
|
1509
|
+
# that for at least 60 minutes after the first request. For example, consider a
|
1510
|
+
# situation where you make an initial request and the request times out. If you
|
1511
|
+
# make the request again with the same request ID, the server can check if
|
1512
|
+
# original operation with the same request ID was received, and if so, will
|
1513
|
+
# ignore the second request. This prevents clients from accidentally creating
|
1514
|
+
# duplicate commitments. The request ID must be a valid UUID with the exception
|
1515
|
+
# that zero UUID is not supported (00000000-0000-0000-0000-000000000000).
|
1516
|
+
# @param [Boolean] validate_only
|
1517
|
+
# Optional. If set, validate the request, but do not actually post it.
|
1518
|
+
# @param [String] fields
|
1519
|
+
# Selector specifying which fields to include in a partial response.
|
1520
|
+
# @param [String] quota_user
|
1521
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1522
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1523
|
+
# @param [Google::Apis::RequestOptions] options
|
1524
|
+
# Request-specific options
|
1525
|
+
#
|
1526
|
+
# @yield [result, err] Result & error if block supplied
|
1527
|
+
# @yieldparam result [Google::Apis::DeveloperconnectV1::Operation] parsed result object
|
1528
|
+
# @yieldparam err [StandardError] error object if request failed
|
1529
|
+
#
|
1530
|
+
# @return [Google::Apis::DeveloperconnectV1::Operation]
|
1531
|
+
#
|
1532
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1533
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1534
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1535
|
+
def patch_project_location_insights_config(name, insights_config_object = nil, allow_missing: nil, request_id: nil, validate_only: nil, fields: nil, quota_user: nil, options: nil, &block)
|
1536
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
1537
|
+
command.request_representation = Google::Apis::DeveloperconnectV1::InsightsConfig::Representation
|
1538
|
+
command.request_object = insights_config_object
|
1539
|
+
command.response_representation = Google::Apis::DeveloperconnectV1::Operation::Representation
|
1540
|
+
command.response_class = Google::Apis::DeveloperconnectV1::Operation
|
1541
|
+
command.params['name'] = name unless name.nil?
|
1542
|
+
command.query['allowMissing'] = allow_missing unless allow_missing.nil?
|
1543
|
+
command.query['requestId'] = request_id unless request_id.nil?
|
1544
|
+
command.query['validateOnly'] = validate_only unless validate_only.nil?
|
1545
|
+
command.query['fields'] = fields unless fields.nil?
|
1546
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1547
|
+
execute_or_queue_command(command, &block)
|
1548
|
+
end
|
1549
|
+
|
1329
1550
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
1330
1551
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
1331
1552
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-developerconnect_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.10.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -57,7 +57,7 @@ licenses:
|
|
57
57
|
metadata:
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-developerconnect_v1/CHANGELOG.md
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-developerconnect_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-developerconnect_v1/v0.10.0
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-developerconnect_v1
|
62
62
|
rdoc_options: []
|
63
63
|
require_paths:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.9
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Developer Connect API V1
|
79
79
|
test_files: []
|