google-apis-workloadmanager_v1 0.9.0 → 0.11.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: 213ca81fd4164fd4fc4ddeb965bafb60ee30232c6384bcdd372fbdecc6e7d652
4
- data.tar.gz: e999c17c62c40c1788b48638b18a300d6950771fdb91d54c5cd34a78f330c3c7
3
+ metadata.gz: 7bd0a7178a873d3d3214063deaa4add3829204ec016dd3c90a1196daaec29321
4
+ data.tar.gz: 556833e6057a709d12d44034f0b6d8935a01813787557ed1105aed92d67d7102
5
5
  SHA512:
6
- metadata.gz: 8a043f7097c97a1e4b9be7faf765bd6795add3e5e52b33f05c2ab6c53ed9407a9d526ccf48b0bfb8bc8d619596e3cd72af38829d33082ba504452ae821f94306
7
- data.tar.gz: 46a929187b66bd58387ebe974f647b5e24ceb1abc374aa4bd5d6b2dd62862d2b3ac3d44a5f5be9f9af0134831d232a6dcfb66b64290ad956c5975c5ae7086ecc
6
+ metadata.gz: be9de00e0aed8f50ab17994a03d93336473d830ccf14bb89e2a5aeb8a2686e56ee7940a5f8d9c4becd08ac700181fa425bc25937bf656177c431f4cb6caa1ebd
7
+ data.tar.gz: e016669296688e34c4d3d767f72208d5f31dc3312207dfac5dc606284ddadcd7d120c595e6a6b39bef8c07926b87a96d4f343243a80ac5afbffdeb5c5b3f093f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-workloadmanager_v1
2
2
 
3
+ ### v0.11.0 (2023-09-10)
4
+
5
+ * Regenerated from discovery document revision 20230907
6
+
7
+ ### v0.10.0 (2023-07-23)
8
+
9
+ * Regenerated from discovery document revision 20230710
10
+
3
11
  ### v0.9.0 (2023-07-09)
4
12
 
5
13
  * Regenerated from discovery document revision 20230630
@@ -273,7 +273,7 @@ module Google
273
273
  # @return [String]
274
274
  attr_accessor :instance_id
275
275
 
276
- # LINT.IfChange The schema of SAP system discovery data.
276
+ # The schema of SAP system discovery data.
277
277
  # Corresponds to the JSON property `sapDiscovery`
278
278
  # @return [Google::Apis::WorkloadmanagerV1::SapDiscovery]
279
279
  attr_accessor :sap_discovery
@@ -582,13 +582,13 @@ module Google
582
582
  # @return [String]
583
583
  attr_accessor :name
584
584
 
585
- # The normal response of the operation in case of success. If the original
586
- # method returns no data on success, such as `Delete`, the response is `google.
587
- # protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`,
588
- # the response should be the resource. For other methods, the response should
589
- # have the type `XxxResponse`, where `Xxx` is the original method name. For
590
- # example, if the original method name is `TakeSnapshot()`, the inferred
591
- # response type is `TakeSnapshotResponse`.
585
+ # The normal, successful response of the operation. If the original method
586
+ # returns no data on success, such as `Delete`, the response is `google.protobuf.
587
+ # Empty`. If the original method is standard `Get`/`Create`/`Update`, the
588
+ # response should be the resource. For other methods, the response should have
589
+ # the type `XxxResponse`, where `Xxx` is the original method name. For example,
590
+ # if the original method name is `TakeSnapshot()`, the inferred response type is
591
+ # `TakeSnapshotResponse`.
592
592
  # Corresponds to the JSON property `response`
593
593
  # @return [Hash<String,Object>]
594
594
  attr_accessor :response
@@ -873,7 +873,7 @@ module Google
873
873
  end
874
874
  end
875
875
 
876
- # LINT.IfChange The schema of SAP system discovery data.
876
+ # The schema of SAP system discovery data.
877
877
  class SapDiscovery
878
878
  include Google::Apis::Core::Hashable
879
879
 
@@ -892,13 +892,13 @@ module Google
892
892
  # @return [Google::Apis::WorkloadmanagerV1::SapDiscoveryMetadata]
893
893
  attr_accessor :metadata
894
894
 
895
- # A combination of database SID, database instance URI and tenant DB name to
896
- # make a unique identifier per-system.
895
+ # Output only. A combination of database SID, database instance URI and tenant
896
+ # DB name to make a unique identifier per-system.
897
897
  # Corresponds to the JSON property `systemId`
898
898
  # @return [String]
899
899
  attr_accessor :system_id
900
900
 
901
- # Unix timestamp this system has been updated last.
901
+ # Required. Unix timestamp this system has been updated last.
902
902
  # Corresponds to the JSON property `updateTime`
903
903
  # @return [String]
904
904
  attr_accessor :update_time
@@ -921,28 +921,28 @@ 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
- # Pantheon Project in which the resources reside.
934
+ # Required. Pantheon Project in which the resources reside.
935
935
  # Corresponds to the JSON property `hostProject`
936
936
  # @return [String]
937
937
  attr_accessor :host_project
938
938
 
939
- # The resources in a component.
939
+ # Optional. The resources in a component.
940
940
  # Corresponds to the JSON property `resources`
941
941
  # @return [Array<Google::Apis::WorkloadmanagerV1::SapDiscoveryResource>]
942
942
  attr_accessor :resources
943
943
 
944
- # The sap identifier, used by the SAP software and helps differentiate systems
945
- # for customers.
944
+ # Optional. The SAP identifier, used by the SAP software and helps differentiate
945
+ # systems for customers.
946
946
  # Corresponds to the JSON property `sid`
947
947
  # @return [String]
948
948
  attr_accessor :sid
@@ -953,34 +953,99 @@ 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
+ # Optional. 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
967
1031
 
968
- # Customer region string for customer's use. Does not represent GCP region.
1032
+ # Optional. Customer region string for customer's use. Does not represent GCP
1033
+ # region.
969
1034
  # Corresponds to the JSON property `customerRegion`
970
1035
  # @return [String]
971
1036
  attr_accessor :customer_region
972
1037
 
973
- # Customer defined, something like "E-commerce pre prod"
1038
+ # Optional. Customer defined, something like "E-commerce pre prod"
974
1039
  # Corresponds to the JSON property `definedSystem`
975
1040
  # @return [String]
976
1041
  attr_accessor :defined_system
977
1042
 
978
- # Should be "prod", "QA", "dev", "staging", etc.
1043
+ # Optional. Should be "prod", "QA", "dev", "staging", etc.
979
1044
  # Corresponds to the JSON property `environmentType`
980
1045
  # @return [String]
981
1046
  attr_accessor :environment_type
982
1047
 
983
- # This sap product name
1048
+ # Optional. This SAP product name
984
1049
  # Corresponds to the JSON property `sapProduct`
985
1050
  # @return [String]
986
1051
  attr_accessor :sap_product
@@ -1002,7 +1067,7 @@ module Google
1002
1067
  class SapDiscoveryResource
1003
1068
  include Google::Apis::Core::Hashable
1004
1069
 
1005
- # A list of resource URIs related to this resource.
1070
+ # Optional. A list of resource URIs related to this resource.
1006
1071
  # Corresponds to the JSON property `relatedResources`
1007
1072
  # @return [Array<String>]
1008
1073
  attr_accessor :related_resources
@@ -1017,12 +1082,13 @@ module Google
1017
1082
  # @return [String]
1018
1083
  attr_accessor :resource_type
1019
1084
 
1020
- # URI of the resource, includes project, location, and name.
1085
+ # Required. URI of the resource, includes project, location, and name.
1021
1086
  # Corresponds to the JSON property `resourceUri`
1022
1087
  # @return [String]
1023
1088
  attr_accessor :resource_uri
1024
1089
 
1025
- # Unix timestamp of when this resource last had its discovery data updated.
1090
+ # Required. Unix timestamp of when this resource last had its discovery data
1091
+ # updated.
1026
1092
  # Corresponds to the JSON property `updateTime`
1027
1093
  # @return [String]
1028
1094
  attr_accessor :update_time
@@ -1046,7 +1112,7 @@ module Google
1046
1112
  class SapValidation
1047
1113
  include Google::Apis::Core::Hashable
1048
1114
 
1049
- # A list of SAP validation metrics data.
1115
+ # Optional. A list of SAP validation metrics data.
1050
1116
  # Corresponds to the JSON property `validationDetails`
1051
1117
  # @return [Array<Google::Apis::WorkloadmanagerV1::SapValidationValidationDetail>]
1052
1118
  attr_accessor :validation_details
@@ -1065,12 +1131,12 @@ module Google
1065
1131
  class SapValidationValidationDetail
1066
1132
  include Google::Apis::Core::Hashable
1067
1133
 
1068
- # The pairs of metrics data: field name & field value.
1134
+ # Optional. The pairs of metrics data: field name & field value.
1069
1135
  # Corresponds to the JSON property `details`
1070
1136
  # @return [Hash<String,String>]
1071
1137
  attr_accessor :details
1072
1138
 
1073
- # The SAP system that the validation data is from.
1139
+ # Optional. The SAP system that the validation data is from.
1074
1140
  # Corresponds to the JSON property `sapValidationType`
1075
1141
  # @return [String]
1076
1142
  attr_accessor :sap_validation_type
@@ -1110,7 +1176,7 @@ module Google
1110
1176
  class SqlserverValidation
1111
1177
  include Google::Apis::Core::Hashable
1112
1178
 
1113
- # The agent version collected this data point
1179
+ # Optional. The agent version collected this data point
1114
1180
  # Corresponds to the JSON property `agentVersion`
1115
1181
  # @return [String]
1116
1182
  attr_accessor :agent_version
@@ -1127,7 +1193,7 @@ module Google
1127
1193
  # @return [String]
1128
1194
  attr_accessor :project_id
1129
1195
 
1130
- # A list of SqlServer validation metrics data.
1196
+ # Optional. A list of SqlServer validation metrics data.
1131
1197
  # Corresponds to the JSON property `validationDetails`
1132
1198
  # @return [Array<Google::Apis::WorkloadmanagerV1::SqlserverValidationValidationDetail>]
1133
1199
  attr_accessor :validation_details
@@ -1173,7 +1239,7 @@ module Google
1173
1239
  # @return [Array<Google::Apis::WorkloadmanagerV1::SqlserverValidationDetails>]
1174
1240
  attr_accessor :details
1175
1241
 
1176
- # The Sqlserver system that the validation data is from.
1242
+ # Optional. The Sqlserver system that the validation data is from.
1177
1243
  # Corresponds to the JSON property `type`
1178
1244
  # @return [String]
1179
1245
  attr_accessor :type
@@ -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.9.0"
19
+ GEM_VERSION = "0.11.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 = "20230630"
25
+ REVISION = "20230907"
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
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.9.0
4
+ version: 0.11.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-09 00:00:00.000000000 Z
11
+ date: 2023-09-10 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.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-workloadmanager_v1/v0.11.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: []
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
75
  - !ruby/object:Gem::Version
76
76
  version: '0'
77
77
  requirements: []
78
- rubygems_version: 3.4.2
78
+ rubygems_version: 3.4.19
79
79
  signing_key:
80
80
  specification_version: 4
81
81
  summary: Simple REST client for Workload Manager API V1