google-apis-workloadmanager_v1 0.7.0 → 0.9.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: 2256f724ff91b9a9f7bb9a819b4547a36d633e6771676e17cacaad80acb27968
4
- data.tar.gz: 9e71f7c5d412fd26765e18e152e347fa0f0d6995b52c1e5bb7fe9b7f6ba03eb2
3
+ metadata.gz: 213ca81fd4164fd4fc4ddeb965bafb60ee30232c6384bcdd372fbdecc6e7d652
4
+ data.tar.gz: e999c17c62c40c1788b48638b18a300d6950771fdb91d54c5cd34a78f330c3c7
5
5
  SHA512:
6
- metadata.gz: 134c9c6e7c28164e9c7a38c407669d3d96b9e54ebb16cb25b1e3a100bf31753fcfc0a6f3e35cca77650a88fa86b306be35afbd1ea12382c714b3d12d10c00ab0
7
- data.tar.gz: a8bb755b890602e3d96987a4bf3bbb7091d872519a16e3a3fdf66ce6e63fb906f3ea85c0e7e30c7b8670ccd3e331e846a1775d1fbda148e76a6ee38d78caf6cc
6
+ metadata.gz: 8a043f7097c97a1e4b9be7faf765bd6795add3e5e52b33f05c2ab6c53ed9407a9d526ccf48b0bfb8bc8d619596e3cd72af38829d33082ba504452ae821f94306
7
+ data.tar.gz: 46a929187b66bd58387ebe974f647b5e24ceb1abc374aa4bd5d6b2dd62862d2b3ac3d44a5f5be9f9af0134831d232a6dcfb66b64290ad956c5975c5ae7086ecc
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.9.0 (2023-07-09)
4
+
5
+ * Regenerated from discovery document revision 20230630
6
+
7
+ ### v0.8.0 (2023-07-02)
8
+
9
+ * Regenerated from discovery document revision 20230621
10
+
3
11
  ### v0.7.0 (2023-06-18)
4
12
 
5
13
  * Regenerated from discovery document revision 20230605
@@ -1007,12 +1007,12 @@ module Google
1007
1007
  # @return [Array<String>]
1008
1008
  attr_accessor :related_resources
1009
1009
 
1010
- # ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.
1010
+ # Required. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.
1011
1011
  # Corresponds to the JSON property `resourceKind`
1012
1012
  # @return [String]
1013
1013
  attr_accessor :resource_kind
1014
1014
 
1015
- # The type of this resource.
1015
+ # Required. The type of this resource.
1016
1016
  # Corresponds to the JSON property `resourceType`
1017
1017
  # @return [String]
1018
1018
  attr_accessor :resource_type
@@ -1115,6 +1115,18 @@ module Google
1115
1115
  # @return [String]
1116
1116
  attr_accessor :agent_version
1117
1117
 
1118
+ # Required. The instance_name of the instance that the Insight data comes from.
1119
+ # According to https://linter.aip.dev/122/name-suffix: field names should not
1120
+ # use the _name suffix unless the field would be ambiguous without it.
1121
+ # Corresponds to the JSON property `instance`
1122
+ # @return [String]
1123
+ attr_accessor :instance
1124
+
1125
+ # Required. The project_id of the cloud project that the Insight data comes from.
1126
+ # Corresponds to the JSON property `projectId`
1127
+ # @return [String]
1128
+ attr_accessor :project_id
1129
+
1118
1130
  # A list of SqlServer validation metrics data.
1119
1131
  # Corresponds to the JSON property `validationDetails`
1120
1132
  # @return [Array<Google::Apis::WorkloadmanagerV1::SqlserverValidationValidationDetail>]
@@ -1127,19 +1139,40 @@ module Google
1127
1139
  # Update properties of this object
1128
1140
  def update!(**args)
1129
1141
  @agent_version = args[:agent_version] if args.key?(:agent_version)
1142
+ @instance = args[:instance] if args.key?(:instance)
1143
+ @project_id = args[:project_id] if args.key?(:project_id)
1130
1144
  @validation_details = args[:validation_details] if args.key?(:validation_details)
1131
1145
  end
1132
1146
  end
1133
1147
 
1134
- # Message describing the Sqlserver validation metrics.
1135
- class SqlserverValidationValidationDetail
1148
+ # Message containing collected data names and values.
1149
+ class SqlserverValidationDetails
1136
1150
  include Google::Apis::Core::Hashable
1137
1151
 
1138
- # pairs of metrics data: column name & column value.
1152
+ # Required. Collected data is in format.
1139
1153
  # Corresponds to the JSON property `fields`
1140
1154
  # @return [Hash<String,String>]
1141
1155
  attr_accessor :fields
1142
1156
 
1157
+ def initialize(**args)
1158
+ update!(**args)
1159
+ end
1160
+
1161
+ # Update properties of this object
1162
+ def update!(**args)
1163
+ @fields = args[:fields] if args.key?(:fields)
1164
+ end
1165
+ end
1166
+
1167
+ # Message describing the Sqlserver validation metrics.
1168
+ class SqlserverValidationValidationDetail
1169
+ include Google::Apis::Core::Hashable
1170
+
1171
+ # Required. Details wraps map that represents collected data names and values.
1172
+ # Corresponds to the JSON property `details`
1173
+ # @return [Array<Google::Apis::WorkloadmanagerV1::SqlserverValidationDetails>]
1174
+ attr_accessor :details
1175
+
1143
1176
  # The Sqlserver system that the validation data is from.
1144
1177
  # Corresponds to the JSON property `type`
1145
1178
  # @return [String]
@@ -1151,7 +1184,7 @@ module Google
1151
1184
 
1152
1185
  # Update properties of this object
1153
1186
  def update!(**args)
1154
- @fields = args[:fields] if args.key?(:fields)
1187
+ @details = args[:details] if args.key?(:details)
1155
1188
  @type = args[:type] if args.key?(:type)
1156
1189
  end
1157
1190
  end
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module WorkloadmanagerV1
18
18
  # Version of the google-apis-workloadmanager_v1 gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230605"
25
+ REVISION = "20230630"
26
26
  end
27
27
  end
28
28
  end
@@ -202,6 +202,12 @@ module Google
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
+ class SqlserverValidationDetails
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
205
211
  class SqlserverValidationValidationDetail
206
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
213
 
@@ -541,15 +547,25 @@ module Google
541
547
  # @private
542
548
  class Representation < Google::Apis::Core::JsonRepresentation
543
549
  property :agent_version, as: 'agentVersion'
550
+ property :instance, as: 'instance'
551
+ property :project_id, as: 'projectId'
544
552
  collection :validation_details, as: 'validationDetails', class: Google::Apis::WorkloadmanagerV1::SqlserverValidationValidationDetail, decorator: Google::Apis::WorkloadmanagerV1::SqlserverValidationValidationDetail::Representation
545
553
 
546
554
  end
547
555
  end
548
556
 
549
- class SqlserverValidationValidationDetail
557
+ class SqlserverValidationDetails
550
558
  # @private
551
559
  class Representation < Google::Apis::Core::JsonRepresentation
552
560
  hash :fields, as: 'fields'
561
+ end
562
+ end
563
+
564
+ class SqlserverValidationValidationDetail
565
+ # @private
566
+ class Representation < Google::Apis::Core::JsonRepresentation
567
+ collection :details, as: 'details', class: Google::Apis::WorkloadmanagerV1::SqlserverValidationDetails, decorator: Google::Apis::WorkloadmanagerV1::SqlserverValidationDetails::Representation
568
+
553
569
  property :type, as: 'type'
554
570
  end
555
571
  end
@@ -22,7 +22,9 @@ module Google
22
22
  module WorkloadmanagerV1
23
23
  # Workload Manager API
24
24
  #
25
- #
25
+ # Workload Manager is a service that provides tooling for enterprise workloads
26
+ # to automate the deployment and validation of your workloads against best
27
+ # practices and recommendations.
26
28
  #
27
29
  # @example
28
30
  # require 'google/apis/workloadmanager_v1'
@@ -21,7 +21,9 @@ module Google
21
21
  module Apis
22
22
  # Workload Manager API
23
23
  #
24
- #
24
+ # Workload Manager is a service that provides tooling for enterprise workloads
25
+ # to automate the deployment and validation of your workloads against best
26
+ # practices and recommendations.
25
27
  #
26
28
  # @see https://cloud.google.com/workload-manager/docs
27
29
  module WorkloadmanagerV1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-workloadmanager_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.9.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: 2023-06-18 00:00:00.000000000 Z
11
+ date: 2023-07-09 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-workloadmanager_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.7.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.9.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-workloadmanager_v1
63
63
  post_install_message:
64
64
  rdoc_options: []