google-apis-workloadmanager_v1 0.8.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e81b42e6729f976544b6604f320fb7a4c0ec767f21f93363111783b301f7a604
4
- data.tar.gz: ca8fb45630d4efac6ee152ab26104d8233400b6d457405b1c6f2c3e9a7988a27
3
+ metadata.gz: 5d6d91a98ceb41ef352be91d0a523a70018426f71727d5b5443d9b0ff07c0f03
4
+ data.tar.gz: e5a77917023563e55de7a5533f8bbb305f2d3cf5dda5c9a1afb4406688717d64
5
5
  SHA512:
6
- metadata.gz: be0e689c703e7535cd7ea47368f7b43e6a6d7c4b685c724d5a5cd2fe64b216448c559a9ee7c862e3b182099ab4b77eb0bac0e2507ebf1b012506ade44587d0e0
7
- data.tar.gz: 9511cdca70599a6818482b23586e4848a7e2ff54abe095a65082c79e8ef5f4ef6b81b19025768eaae155f2c13d08fa3aabda79914e67a37a73aa00235ef35ef9
6
+ metadata.gz: 463a35c6e0669977eb10dd8fda6fa3bf459cf03e62f2298ece67cb1acb406239b0df0e050014b89bf5916bf966b62963aa6b11ae81272cdc902959a50cd93d9d
7
+ data.tar.gz: d912d1637f4f676b98370178ff9946aa7b2ac5ee101683606444d92359a160b208f45b8f8769951d388a3203aadc983fd47aa04210f59ced28d499bb7ba49b28
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.10.0 (2023-07-23)
4
+
5
+ * Regenerated from discovery document revision 20230710
6
+
7
+ ### v0.9.0 (2023-07-09)
8
+
9
+ * Regenerated from discovery document revision 20230630
10
+
3
11
  ### v0.8.0 (2023-07-02)
4
12
 
5
13
  * Regenerated from discovery document revision 20230621
@@ -921,15 +921,15 @@ module Google
921
921
  class SapDiscoveryComponent
922
922
  include Google::Apis::Core::Hashable
923
923
 
924
- # The component is a SAP application.
925
- # Corresponds to the JSON property `applicationType`
926
- # @return [String]
927
- attr_accessor :application_type
924
+ # A set of properties describing an SAP Application layer.
925
+ # Corresponds to the JSON property `applicationProperties`
926
+ # @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentApplicationProperties]
927
+ attr_accessor :application_properties
928
928
 
929
- # The component is a SAP database.
930
- # Corresponds to the JSON property `databaseType`
931
- # @return [String]
932
- attr_accessor :database_type
929
+ # A set of properties describing an SAP Database layer.
930
+ # Corresponds to the JSON property `databaseProperties`
931
+ # @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentDatabaseProperties]
932
+ attr_accessor :database_properties
933
933
 
934
934
  # Pantheon Project in which the resources reside.
935
935
  # Corresponds to the JSON property `hostProject`
@@ -953,14 +953,78 @@ module Google
953
953
 
954
954
  # Update properties of this object
955
955
  def update!(**args)
956
- @application_type = args[:application_type] if args.key?(:application_type)
957
- @database_type = args[:database_type] if args.key?(:database_type)
956
+ @application_properties = args[:application_properties] if args.key?(:application_properties)
957
+ @database_properties = args[:database_properties] if args.key?(:database_properties)
958
958
  @host_project = args[:host_project] if args.key?(:host_project)
959
959
  @resources = args[:resources] if args.key?(:resources)
960
960
  @sid = args[:sid] if args.key?(:sid)
961
961
  end
962
962
  end
963
963
 
964
+ # A set of properties describing an SAP Application layer.
965
+ class SapDiscoveryComponentApplicationProperties
966
+ include Google::Apis::Core::Hashable
967
+
968
+ # Required. Type of the application. Netweaver, etc.
969
+ # Corresponds to the JSON property `applicationType`
970
+ # @return [String]
971
+ attr_accessor :application_type
972
+
973
+ # Required. Resource URI of the recognized ASCS host of the application.
974
+ # Corresponds to the JSON property `ascsUri`
975
+ # @return [String]
976
+ attr_accessor :ascs_uri
977
+
978
+ # Optional. Resource URI of the recognized shared NFS of the application. May be
979
+ # empty if the application server has only a single node.
980
+ # Corresponds to the JSON property `nfsUri`
981
+ # @return [String]
982
+ attr_accessor :nfs_uri
983
+
984
+ def initialize(**args)
985
+ update!(**args)
986
+ end
987
+
988
+ # Update properties of this object
989
+ def update!(**args)
990
+ @application_type = args[:application_type] if args.key?(:application_type)
991
+ @ascs_uri = args[:ascs_uri] if args.key?(:ascs_uri)
992
+ @nfs_uri = args[:nfs_uri] if args.key?(:nfs_uri)
993
+ end
994
+ end
995
+
996
+ # A set of properties describing an SAP Database layer.
997
+ class SapDiscoveryComponentDatabaseProperties
998
+ include Google::Apis::Core::Hashable
999
+
1000
+ # Required. Type of the database. HANA, DB2, etc.
1001
+ # Corresponds to the JSON property `databaseType`
1002
+ # @return [String]
1003
+ attr_accessor :database_type
1004
+
1005
+ # Required. URI of the recognized primary instance of the database.
1006
+ # Corresponds to the JSON property `primaryInstanceUri`
1007
+ # @return [String]
1008
+ attr_accessor :primary_instance_uri
1009
+
1010
+ # Optional. URI of the recognized shared NFS of the database. May be empty if
1011
+ # the database has only a single node.
1012
+ # Corresponds to the JSON property `sharedNfsUri`
1013
+ # @return [String]
1014
+ attr_accessor :shared_nfs_uri
1015
+
1016
+ def initialize(**args)
1017
+ update!(**args)
1018
+ end
1019
+
1020
+ # Update properties of this object
1021
+ def update!(**args)
1022
+ @database_type = args[:database_type] if args.key?(:database_type)
1023
+ @primary_instance_uri = args[:primary_instance_uri] if args.key?(:primary_instance_uri)
1024
+ @shared_nfs_uri = args[:shared_nfs_uri] if args.key?(:shared_nfs_uri)
1025
+ end
1026
+ end
1027
+
964
1028
  # Message describing SAP discovery system metadata
965
1029
  class SapDiscoveryMetadata
966
1030
  include Google::Apis::Core::Hashable
@@ -1007,12 +1071,12 @@ module Google
1007
1071
  # @return [Array<String>]
1008
1072
  attr_accessor :related_resources
1009
1073
 
1010
- # ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.
1074
+ # Required. ComputeInstance, ComputeDisk, VPC, Bare Metal server, etc.
1011
1075
  # Corresponds to the JSON property `resourceKind`
1012
1076
  # @return [String]
1013
1077
  attr_accessor :resource_kind
1014
1078
 
1015
- # The type of this resource.
1079
+ # Required. The type of this resource.
1016
1080
  # Corresponds to the JSON property `resourceType`
1017
1081
  # @return [String]
1018
1082
  attr_accessor :resource_type
@@ -1115,6 +1179,18 @@ module Google
1115
1179
  # @return [String]
1116
1180
  attr_accessor :agent_version
1117
1181
 
1182
+ # Required. The instance_name of the instance that the Insight data comes from.
1183
+ # According to https://linter.aip.dev/122/name-suffix: field names should not
1184
+ # use the _name suffix unless the field would be ambiguous without it.
1185
+ # Corresponds to the JSON property `instance`
1186
+ # @return [String]
1187
+ attr_accessor :instance
1188
+
1189
+ # Required. The project_id of the cloud project that the Insight data comes from.
1190
+ # Corresponds to the JSON property `projectId`
1191
+ # @return [String]
1192
+ attr_accessor :project_id
1193
+
1118
1194
  # A list of SqlServer validation metrics data.
1119
1195
  # Corresponds to the JSON property `validationDetails`
1120
1196
  # @return [Array<Google::Apis::WorkloadmanagerV1::SqlserverValidationValidationDetail>]
@@ -1127,6 +1203,8 @@ module Google
1127
1203
  # Update properties of this object
1128
1204
  def update!(**args)
1129
1205
  @agent_version = args[:agent_version] if args.key?(:agent_version)
1206
+ @instance = args[:instance] if args.key?(:instance)
1207
+ @project_id = args[:project_id] if args.key?(:project_id)
1130
1208
  @validation_details = args[:validation_details] if args.key?(:validation_details)
1131
1209
  end
1132
1210
  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.8.0"
19
+ GEM_VERSION = "0.10.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 = "20230621"
25
+ REVISION = "20230710"
26
26
  end
27
27
  end
28
28
  end
@@ -166,6 +166,18 @@ module Google
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
+ class SapDiscoveryComponentApplicationProperties
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class SapDiscoveryComponentDatabaseProperties
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
169
181
  class SapDiscoveryMetadata
170
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
183
 
@@ -490,8 +502,10 @@ module Google
490
502
  class SapDiscoveryComponent
491
503
  # @private
492
504
  class Representation < Google::Apis::Core::JsonRepresentation
493
- property :application_type, as: 'applicationType'
494
- property :database_type, as: 'databaseType'
505
+ property :application_properties, as: 'applicationProperties', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentApplicationProperties, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentApplicationProperties::Representation
506
+
507
+ property :database_properties, as: 'databaseProperties', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentDatabaseProperties, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryComponentDatabaseProperties::Representation
508
+
495
509
  property :host_project, as: 'hostProject'
496
510
  collection :resources, as: 'resources', class: Google::Apis::WorkloadmanagerV1::SapDiscoveryResource, decorator: Google::Apis::WorkloadmanagerV1::SapDiscoveryResource::Representation
497
511
 
@@ -499,6 +513,24 @@ module Google
499
513
  end
500
514
  end
501
515
 
516
+ class SapDiscoveryComponentApplicationProperties
517
+ # @private
518
+ class Representation < Google::Apis::Core::JsonRepresentation
519
+ property :application_type, as: 'applicationType'
520
+ property :ascs_uri, as: 'ascsUri'
521
+ property :nfs_uri, as: 'nfsUri'
522
+ end
523
+ end
524
+
525
+ class SapDiscoveryComponentDatabaseProperties
526
+ # @private
527
+ class Representation < Google::Apis::Core::JsonRepresentation
528
+ property :database_type, as: 'databaseType'
529
+ property :primary_instance_uri, as: 'primaryInstanceUri'
530
+ property :shared_nfs_uri, as: 'sharedNfsUri'
531
+ end
532
+ end
533
+
502
534
  class SapDiscoveryMetadata
503
535
  # @private
504
536
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -547,6 +579,8 @@ module Google
547
579
  # @private
548
580
  class Representation < Google::Apis::Core::JsonRepresentation
549
581
  property :agent_version, as: 'agentVersion'
582
+ property :instance, as: 'instance'
583
+ property :project_id, as: 'projectId'
550
584
  collection :validation_details, as: 'validationDetails', class: Google::Apis::WorkloadmanagerV1::SqlserverValidationValidationDetail, decorator: Google::Apis::WorkloadmanagerV1::SqlserverValidationValidationDetail::Representation
551
585
 
552
586
  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.8.0
4
+ version: 0.10.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-07-02 00:00:00.000000000 Z
11
+ date: 2023-07-23 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.8.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.10.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: []