google-apis-workloadmanager_v1 0.11.0 → 0.12.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7bd0a7178a873d3d3214063deaa4add3829204ec016dd3c90a1196daaec29321
4
- data.tar.gz: 556833e6057a709d12d44034f0b6d8935a01813787557ed1105aed92d67d7102
3
+ metadata.gz: 9823caf14aad977fe19a0d4d78ec05920f8200cbdb20f9442ceb6bc2ddcfe714
4
+ data.tar.gz: 489f76626da83989ac7bf5e71dcfbe890dd6770943c1e73a1d6e548e5b9dbf98
5
5
  SHA512:
6
- metadata.gz: be9de00e0aed8f50ab17994a03d93336473d830ccf14bb89e2a5aeb8a2686e56ee7940a5f8d9c4becd08ac700181fa425bc25937bf656177c431f4cb6caa1ebd
7
- data.tar.gz: e016669296688e34c4d3d767f72208d5f31dc3312207dfac5dc606284ddadcd7d120c595e6a6b39bef8c07926b87a96d4f343243a80ac5afbffdeb5c5b3f093f
6
+ metadata.gz: 4aff2f24918334071b8d3a6788c8ac693f752d55a8372018f74d5abf317be327d9c9e3cff474bee1afde40dacde27fc97e0d81f753b08ea1fdf77a0cac9ab039
7
+ data.tar.gz: fb1430c9f740a52eebf56a32f5193b449937b5c0685d27589006e82e1114d1117fb95da9061fedac311c7b78e22cfdfa307e5c26bfe13d95dfb9510f2b8fd0c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.12.0 (2023-12-17)
4
+
5
+ * Regenerated from discovery document revision 20231211
6
+
3
7
  ### v0.11.0 (2023-09-10)
4
8
 
5
9
  * Regenerated from discovery document revision 20230907
@@ -892,6 +892,11 @@ module Google
892
892
  # @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryMetadata]
893
893
  attr_accessor :metadata
894
894
 
895
+ # Optional. The GCP project number that this SapSystem belongs to.
896
+ # Corresponds to the JSON property `projectNumber`
897
+ # @return [String]
898
+ attr_accessor :project_number
899
+
895
900
  # Output only. A combination of database SID, database instance URI and tenant
896
901
  # DB name to make a unique identifier per-system.
897
902
  # Corresponds to the JSON property `systemId`
@@ -912,6 +917,7 @@ module Google
912
917
  @application_layer = args[:application_layer] if args.key?(:application_layer)
913
918
  @database_layer = args[:database_layer] if args.key?(:database_layer)
914
919
  @metadata = args[:metadata] if args.key?(:metadata)
920
+ @project_number = args[:project_number] if args.key?(:project_number)
915
921
  @system_id = args[:system_id] if args.key?(:system_id)
916
922
  @update_time = args[:update_time] if args.key?(:update_time)
917
923
  end
@@ -931,6 +937,12 @@ module Google
931
937
  # @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentDatabaseProperties]
932
938
  attr_accessor :database_properties
933
939
 
940
+ # Optional. A list of host URIs that are part of the HA configuration if present.
941
+ # An empty list indicates the component is not configured for HA.
942
+ # Corresponds to the JSON property `haHosts`
943
+ # @return [Array<String>]
944
+ attr_accessor :ha_hosts
945
+
934
946
  # Required. Pantheon Project in which the resources reside.
935
947
  # Corresponds to the JSON property `hostProject`
936
948
  # @return [String]
@@ -947,6 +959,11 @@ module Google
947
959
  # @return [String]
948
960
  attr_accessor :sid
949
961
 
962
+ # Optional. The detected topology of the component.
963
+ # Corresponds to the JSON property `topologyType`
964
+ # @return [String]
965
+ attr_accessor :topology_type
966
+
950
967
  def initialize(**args)
951
968
  update!(**args)
952
969
  end
@@ -955,9 +972,11 @@ module Google
955
972
  def update!(**args)
956
973
  @application_properties = args[:application_properties] if args.key?(:application_properties)
957
974
  @database_properties = args[:database_properties] if args.key?(:database_properties)
975
+ @ha_hosts = args[:ha_hosts] if args.key?(:ha_hosts)
958
976
  @host_project = args[:host_project] if args.key?(:host_project)
959
977
  @resources = args[:resources] if args.key?(:resources)
960
978
  @sid = args[:sid] if args.key?(:sid)
979
+ @topology_type = args[:topology_type] if args.key?(:topology_type)
961
980
  end
962
981
  end
963
982
 
@@ -965,6 +984,13 @@ module Google
965
984
  class SapDiscoveryComponentApplicationProperties
966
985
  include Google::Apis::Core::Hashable
967
986
 
987
+ # Optional. Indicates whether this is a Java or ABAP Netweaver instance. true
988
+ # means it is ABAP, false means it is Java.
989
+ # Corresponds to the JSON property `abap`
990
+ # @return [Boolean]
991
+ attr_accessor :abap
992
+ alias_method :abap?, :abap
993
+
968
994
  # Required. Type of the application. Netweaver, etc.
969
995
  # Corresponds to the JSON property `applicationType`
970
996
  # @return [String]
@@ -975,6 +1001,11 @@ module Google
975
1001
  # @return [String]
976
1002
  attr_accessor :ascs_uri
977
1003
 
1004
+ # Optional. Kernel version for Netweaver running in the system.
1005
+ # Corresponds to the JSON property `kernelVersion`
1006
+ # @return [String]
1007
+ attr_accessor :kernel_version
1008
+
978
1009
  # Optional. Resource URI of the recognized shared NFS of the application. May be
979
1010
  # empty if the application server has only a single node.
980
1011
  # Corresponds to the JSON property `nfsUri`
@@ -987,8 +1018,10 @@ module Google
987
1018
 
988
1019
  # Update properties of this object
989
1020
  def update!(**args)
1021
+ @abap = args[:abap] if args.key?(:abap)
990
1022
  @application_type = args[:application_type] if args.key?(:application_type)
991
1023
  @ascs_uri = args[:ascs_uri] if args.key?(:ascs_uri)
1024
+ @kernel_version = args[:kernel_version] if args.key?(:kernel_version)
992
1025
  @nfs_uri = args[:nfs_uri] if args.key?(:nfs_uri)
993
1026
  end
994
1027
  end
@@ -1002,6 +1035,11 @@ module Google
1002
1035
  # @return [String]
1003
1036
  attr_accessor :database_type
1004
1037
 
1038
+ # Optional. The version of the database software running in the system.
1039
+ # Corresponds to the JSON property `databaseVersion`
1040
+ # @return [String]
1041
+ attr_accessor :database_version
1042
+
1005
1043
  # Required. URI of the recognized primary instance of the database.
1006
1044
  # Corresponds to the JSON property `primaryInstanceUri`
1007
1045
  # @return [String]
@@ -1020,6 +1058,7 @@ module Google
1020
1058
  # Update properties of this object
1021
1059
  def update!(**args)
1022
1060
  @database_type = args[:database_type] if args.key?(:database_type)
1061
+ @database_version = args[:database_version] if args.key?(:database_version)
1023
1062
  @primary_instance_uri = args[:primary_instance_uri] if args.key?(:primary_instance_uri)
1024
1063
  @shared_nfs_uri = args[:shared_nfs_uri] if args.key?(:shared_nfs_uri)
1025
1064
  end
@@ -1067,6 +1106,11 @@ module Google
1067
1106
  class SapDiscoveryResource
1068
1107
  include Google::Apis::Core::Hashable
1069
1108
 
1109
+ # A set of properties only present for an instance type resource
1110
+ # Corresponds to the JSON property `instanceProperties`
1111
+ # @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstanceProperties]
1112
+ attr_accessor :instance_properties
1113
+
1070
1114
  # Optional. A list of resource URIs related to this resource.
1071
1115
  # Corresponds to the JSON property `relatedResources`
1072
1116
  # @return [Array<String>]
@@ -1099,6 +1143,7 @@ module Google
1099
1143
 
1100
1144
  # Update properties of this object
1101
1145
  def update!(**args)
1146
+ @instance_properties = args[:instance_properties] if args.key?(:instance_properties)
1102
1147
  @related_resources = args[:related_resources] if args.key?(:related_resources)
1103
1148
  @resource_kind = args[:resource_kind] if args.key?(:resource_kind)
1104
1149
  @resource_type = args[:resource_type] if args.key?(:resource_type)
@@ -1107,23 +1152,60 @@ module Google
1107
1152
  end
1108
1153
  end
1109
1154
 
1155
+ # A set of properties only present for an instance type resource
1156
+ class SapDiscoveryResourceInstanceProperties
1157
+ include Google::Apis::Core::Hashable
1158
+
1159
+ # Optional. A list of instance URIs that are part of a cluster with this one.
1160
+ # Corresponds to the JSON property `clusterInstances`
1161
+ # @return [Array<String>]
1162
+ attr_accessor :cluster_instances
1163
+
1164
+ # Optional. A virtual hostname of the instance if it has one.
1165
+ # Corresponds to the JSON property `virtualHostname`
1166
+ # @return [String]
1167
+ attr_accessor :virtual_hostname
1168
+
1169
+ def initialize(**args)
1170
+ update!(**args)
1171
+ end
1172
+
1173
+ # Update properties of this object
1174
+ def update!(**args)
1175
+ @cluster_instances = args[:cluster_instances] if args.key?(:cluster_instances)
1176
+ @virtual_hostname = args[:virtual_hostname] if args.key?(:virtual_hostname)
1177
+ end
1178
+ end
1179
+
1110
1180
  # A presentation of SAP workload insight. The schema of SAP workloads validation
1111
1181
  # related data.
1112
1182
  class SapValidation
1113
1183
  include Google::Apis::Core::Hashable
1114
1184
 
1185
+ # Required. The project_id of the cloud project that the Insight data comes from.
1186
+ # Corresponds to the JSON property `projectId`
1187
+ # @return [String]
1188
+ attr_accessor :project_id
1189
+
1115
1190
  # Optional. A list of SAP validation metrics data.
1116
1191
  # Corresponds to the JSON property `validationDetails`
1117
1192
  # @return [Array<Google::Apis::WorkloadmanagerV1::SapValidationValidationDetail>]
1118
1193
  attr_accessor :validation_details
1119
1194
 
1195
+ # Optional. The zone of the instance that the Insight data comes from.
1196
+ # Corresponds to the JSON property `zone`
1197
+ # @return [String]
1198
+ attr_accessor :zone
1199
+
1120
1200
  def initialize(**args)
1121
1201
  update!(**args)
1122
1202
  end
1123
1203
 
1124
1204
  # Update properties of this object
1125
1205
  def update!(**args)
1206
+ @project_id = args[:project_id] if args.key?(:project_id)
1126
1207
  @validation_details = args[:validation_details] if args.key?(:validation_details)
1208
+ @zone = args[:zone] if args.key?(:zone)
1127
1209
  end
1128
1210
  end
1129
1211
 
@@ -1136,6 +1218,12 @@ module Google
1136
1218
  # @return [Hash<String,String>]
1137
1219
  attr_accessor :details
1138
1220
 
1221
+ # Optional. Was there a SAP system detected for this validation type.
1222
+ # Corresponds to the JSON property `isPresent`
1223
+ # @return [Boolean]
1224
+ attr_accessor :is_present
1225
+ alias_method :is_present?, :is_present
1226
+
1139
1227
  # Optional. The SAP system that the validation data is from.
1140
1228
  # Corresponds to the JSON property `sapValidationType`
1141
1229
  # @return [String]
@@ -1148,6 +1236,7 @@ module Google
1148
1236
  # Update properties of this object
1149
1237
  def update!(**args)
1150
1238
  @details = args[:details] if args.key?(:details)
1239
+ @is_present = args[:is_present] if args.key?(:is_present)
1151
1240
  @sap_validation_type = args[:sap_validation_type] if args.key?(:sap_validation_type)
1152
1241
  end
1153
1242
  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.11.0"
19
+ GEM_VERSION = "0.12.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 = "20230907"
25
+ REVISION = "20231211"
26
26
  end
27
27
  end
28
28
  end
@@ -190,6 +190,12 @@ module Google
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
+ class SapDiscoveryResourceInstanceProperties
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
193
199
  class SapValidation
194
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
201
 
@@ -494,6 +500,7 @@ module Google
494
500
 
495
501
  property :metadata, as: 'metadata', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryMetadata, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryMetadata::Representation
496
502
 
503
+ property :project_number, as: 'projectNumber'
497
504
  property :system_id, as: 'systemId'
498
505
  property :update_time, as: 'updateTime'
499
506
  end
@@ -506,18 +513,22 @@ module Google
506
513
 
507
514
  property :database_properties, as: 'databaseProperties', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentDatabaseProperties, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentDatabaseProperties::Representation
508
515
 
516
+ collection :ha_hosts, as: 'haHosts'
509
517
  property :host_project, as: 'hostProject'
510
518
  collection :resources, as: 'resources', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResource, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResource::Representation
511
519
 
512
520
  property :sid, as: 'sid'
521
+ property :topology_type, as: 'topologyType'
513
522
  end
514
523
  end
515
524
 
516
525
  class SapDiscoveryComponentApplicationProperties
517
526
  # @private
518
527
  class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :abap, as: 'abap'
519
529
  property :application_type, as: 'applicationType'
520
530
  property :ascs_uri, as: 'ascsUri'
531
+ property :kernel_version, as: 'kernelVersion'
521
532
  property :nfs_uri, as: 'nfsUri'
522
533
  end
523
534
  end
@@ -526,6 +537,7 @@ module Google
526
537
  # @private
527
538
  class Representation < Google::Apis::Core::JsonRepresentation
528
539
  property :database_type, as: 'databaseType'
540
+ property :database_version, as: 'databaseVersion'
529
541
  property :primary_instance_uri, as: 'primaryInstanceUri'
530
542
  property :shared_nfs_uri, as: 'sharedNfsUri'
531
543
  end
@@ -544,6 +556,8 @@ module Google
544
556
  class SapDiscoveryResource
545
557
  # @private
546
558
  class Representation < Google::Apis::Core::JsonRepresentation
559
+ property :instance_properties, as: 'instanceProperties', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstanceProperties, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResourceInstanceProperties::Representation
560
+
547
561
  collection :related_resources, as: 'relatedResources'
548
562
  property :resource_kind, as: 'resourceKind'
549
563
  property :resource_type, as: 'resourceType'
@@ -552,11 +566,21 @@ module Google
552
566
  end
553
567
  end
554
568
 
569
+ class SapDiscoveryResourceInstanceProperties
570
+ # @private
571
+ class Representation < Google::Apis::Core::JsonRepresentation
572
+ collection :cluster_instances, as: 'clusterInstances'
573
+ property :virtual_hostname, as: 'virtualHostname'
574
+ end
575
+ end
576
+
555
577
  class SapValidation
556
578
  # @private
557
579
  class Representation < Google::Apis::Core::JsonRepresentation
580
+ property :project_id, as: 'projectId'
558
581
  collection :validation_details, as: 'validationDetails', class: Google::Apis::WorkloadmanagerV1::SapValidationValidationDetail, decorator: Google::Apis::WorkloadmanagerV1::SapValidationValidationDetail::Representation
559
582
 
583
+ property :zone, as: 'zone'
560
584
  end
561
585
  end
562
586
 
@@ -564,6 +588,7 @@ module Google
564
588
  # @private
565
589
  class Representation < Google::Apis::Core::JsonRepresentation
566
590
  hash :details, as: 'details'
591
+ property :is_present, as: 'isPresent'
567
592
  property :sap_validation_type, as: 'sapValidationType'
568
593
  end
569
594
  end
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.11.0
4
+ version: 0.12.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-09-10 00:00:00.000000000 Z
11
+ date: 2023-12-17 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.11.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.12.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: []