google-apis-osconfig_v1beta 0.1.0 → 0.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/osconfig_v1beta.rb +2 -2
- data/lib/google/apis/osconfig_v1beta/classes.rb +46 -419
- data/lib/google/apis/osconfig_v1beta/gem_version.rb +3 -3
- data/lib/google/apis/osconfig_v1beta/representations.rb +17 -168
- data/lib/google/apis/osconfig_v1beta/service.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 00a9c61e19231430f0985935d418cc3dc3faf5477199d69600082216c9dc3ecf
|
4
|
+
data.tar.gz: 19945de743cb34f63c69be5682f9cd138304b5aefdd5ec0a91fdeb2a9fe7c766
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3006253051e24cdb45534db19d5681921432cde5535ffe5bba3736b34fe2b3bd4b6d4237272759d2b7ec2da263cdc3d35a7a404bb0958b4f2bc2bcd3dc4d350e
|
7
|
+
data.tar.gz: 82cc034121439d08baae7c560f7d9abfa3ffc7906696c72f5e5b7e3ccafd1e791c4bef457d6999cbf6805d677bbf6336148e97a36b583567435007e30ea90091
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Release history for google-apis-osconfig_v1beta
|
2
2
|
|
3
|
+
### v0.6.0 (2021-05-19)
|
4
|
+
|
5
|
+
* Unspecified changes
|
6
|
+
|
7
|
+
### v0.5.0 (2021-05-01)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20210427
|
10
|
+
|
11
|
+
### v0.4.0 (2021-03-28)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20210322
|
14
|
+
* Regenerated using generator version 0.2.0
|
15
|
+
|
16
|
+
### v0.3.0 (2021-03-04)
|
17
|
+
|
18
|
+
* Unspecified changes
|
19
|
+
|
20
|
+
### v0.2.0 (2021-02-07)
|
21
|
+
|
22
|
+
* Regenerated from discovery document revision 20210122
|
23
|
+
* Regenerated using generator version 0.1.2
|
24
|
+
|
3
25
|
### v0.1.0 (2021-01-07)
|
4
26
|
|
5
27
|
* Regenerated using generator version 0.1.1
|
data/OVERVIEW.md
CHANGED
@@ -79,7 +79,7 @@ Gem names for modern clients are often of the form `google-cloud-<service_name>`
|
|
79
79
|
|
80
80
|
**For most users, we recommend the modern client, if one is available.** Compared with simple clients, modern clients are generally much easier to use and more Ruby-like, support more advanced features such as streaming and long-running operations, and often provide much better performance. You may consider using a simple client instead, if a modern client is not yet available for the service you want to use, or if you are not able to use gRPC on your infrastructure.
|
81
81
|
|
82
|
-
The [product documentation](https://cloud.google.com/compute/docs/
|
82
|
+
The [product documentation](https://cloud.google.com/compute/docs/osconfig/rest) may provide guidance regarding the preferred client library to use.
|
83
83
|
|
84
84
|
## Supported Ruby versions
|
85
85
|
|
@@ -24,13 +24,13 @@ module Google
|
|
24
24
|
# OS management tools that can be used for patch management, patch compliance,
|
25
25
|
# and configuration management on VM instances.
|
26
26
|
#
|
27
|
-
# @see https://cloud.google.com/compute/docs/
|
27
|
+
# @see https://cloud.google.com/compute/docs/osconfig/rest
|
28
28
|
module OsconfigV1beta
|
29
29
|
# Version of the OS Config API this client connects to.
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1beta'
|
32
32
|
|
33
|
-
#
|
33
|
+
# See, edit, configure, and delete your Google Cloud Platform data
|
34
34
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
35
35
|
end
|
36
36
|
end
|
@@ -678,425 +678,6 @@ module Google
|
|
678
678
|
end
|
679
679
|
end
|
680
680
|
|
681
|
-
# The inventory details of a VM.
|
682
|
-
class Inventory
|
683
|
-
include Google::Apis::Core::Hashable
|
684
|
-
|
685
|
-
# Inventory items related to the VM keyed by an opaque unique identifier for
|
686
|
-
# each inventory item. The identifier is unique to each distinct and addressable
|
687
|
-
# inventory item and will change, when there is a new package version.
|
688
|
-
# Corresponds to the JSON property `items`
|
689
|
-
# @return [Hash<String,Google::Apis::OsconfigV1beta::InventoryItem>]
|
690
|
-
attr_accessor :items
|
691
|
-
|
692
|
-
# Operating system information for the VM.
|
693
|
-
# Corresponds to the JSON property `osInfo`
|
694
|
-
# @return [Google::Apis::OsconfigV1beta::InventoryOsInfo]
|
695
|
-
attr_accessor :os_info
|
696
|
-
|
697
|
-
def initialize(**args)
|
698
|
-
update!(**args)
|
699
|
-
end
|
700
|
-
|
701
|
-
# Update properties of this object
|
702
|
-
def update!(**args)
|
703
|
-
@items = args[:items] if args.key?(:items)
|
704
|
-
@os_info = args[:os_info] if args.key?(:os_info)
|
705
|
-
end
|
706
|
-
end
|
707
|
-
|
708
|
-
# A single piece of inventory on a VM.
|
709
|
-
class InventoryItem
|
710
|
-
include Google::Apis::Core::Hashable
|
711
|
-
|
712
|
-
# Software package information of the operating system.
|
713
|
-
# Corresponds to the JSON property `availablePackage`
|
714
|
-
# @return [Google::Apis::OsconfigV1beta::InventorySoftwarePackage]
|
715
|
-
attr_accessor :available_package
|
716
|
-
|
717
|
-
# When this inventory item was first detected.
|
718
|
-
# Corresponds to the JSON property `createTime`
|
719
|
-
# @return [String]
|
720
|
-
attr_accessor :create_time
|
721
|
-
|
722
|
-
# Identifier for this item, unique across items for this VM.
|
723
|
-
# Corresponds to the JSON property `id`
|
724
|
-
# @return [String]
|
725
|
-
attr_accessor :id
|
726
|
-
|
727
|
-
# Software package information of the operating system.
|
728
|
-
# Corresponds to the JSON property `installedPackage`
|
729
|
-
# @return [Google::Apis::OsconfigV1beta::InventorySoftwarePackage]
|
730
|
-
attr_accessor :installed_package
|
731
|
-
|
732
|
-
# The origin of this inventory item.
|
733
|
-
# Corresponds to the JSON property `originType`
|
734
|
-
# @return [String]
|
735
|
-
attr_accessor :origin_type
|
736
|
-
|
737
|
-
# The specific type of inventory, correlating to its specific details.
|
738
|
-
# Corresponds to the JSON property `type`
|
739
|
-
# @return [String]
|
740
|
-
attr_accessor :type
|
741
|
-
|
742
|
-
# When this inventory item was last modified.
|
743
|
-
# Corresponds to the JSON property `updateTime`
|
744
|
-
# @return [String]
|
745
|
-
attr_accessor :update_time
|
746
|
-
|
747
|
-
def initialize(**args)
|
748
|
-
update!(**args)
|
749
|
-
end
|
750
|
-
|
751
|
-
# Update properties of this object
|
752
|
-
def update!(**args)
|
753
|
-
@available_package = args[:available_package] if args.key?(:available_package)
|
754
|
-
@create_time = args[:create_time] if args.key?(:create_time)
|
755
|
-
@id = args[:id] if args.key?(:id)
|
756
|
-
@installed_package = args[:installed_package] if args.key?(:installed_package)
|
757
|
-
@origin_type = args[:origin_type] if args.key?(:origin_type)
|
758
|
-
@type = args[:type] if args.key?(:type)
|
759
|
-
@update_time = args[:update_time] if args.key?(:update_time)
|
760
|
-
end
|
761
|
-
end
|
762
|
-
|
763
|
-
# Operating system information for the VM.
|
764
|
-
class InventoryOsInfo
|
765
|
-
include Google::Apis::Core::Hashable
|
766
|
-
|
767
|
-
# The system architecture of the operating system.
|
768
|
-
# Corresponds to the JSON property `architecture`
|
769
|
-
# @return [String]
|
770
|
-
attr_accessor :architecture
|
771
|
-
|
772
|
-
# The VM hostname.
|
773
|
-
# Corresponds to the JSON property `hostname`
|
774
|
-
# @return [String]
|
775
|
-
attr_accessor :hostname
|
776
|
-
|
777
|
-
# The kernel release of the operating system.
|
778
|
-
# Corresponds to the JSON property `kernelRelease`
|
779
|
-
# @return [String]
|
780
|
-
attr_accessor :kernel_release
|
781
|
-
|
782
|
-
# The kernel version of the operating system.
|
783
|
-
# Corresponds to the JSON property `kernelVersion`
|
784
|
-
# @return [String]
|
785
|
-
attr_accessor :kernel_version
|
786
|
-
|
787
|
-
# The operating system long name. For example 'Debian GNU/Linux 9' or 'Microsoft
|
788
|
-
# Window Server 2019 Datacenter'.
|
789
|
-
# Corresponds to the JSON property `longName`
|
790
|
-
# @return [String]
|
791
|
-
attr_accessor :long_name
|
792
|
-
|
793
|
-
# The current version of the OS Config agent running on the VM.
|
794
|
-
# Corresponds to the JSON property `osconfigAgentVersion`
|
795
|
-
# @return [String]
|
796
|
-
attr_accessor :osconfig_agent_version
|
797
|
-
|
798
|
-
# The operating system short name. For example, 'windows' or 'debian'.
|
799
|
-
# Corresponds to the JSON property `shortName`
|
800
|
-
# @return [String]
|
801
|
-
attr_accessor :short_name
|
802
|
-
|
803
|
-
# The version of the operating system.
|
804
|
-
# Corresponds to the JSON property `version`
|
805
|
-
# @return [String]
|
806
|
-
attr_accessor :version
|
807
|
-
|
808
|
-
def initialize(**args)
|
809
|
-
update!(**args)
|
810
|
-
end
|
811
|
-
|
812
|
-
# Update properties of this object
|
813
|
-
def update!(**args)
|
814
|
-
@architecture = args[:architecture] if args.key?(:architecture)
|
815
|
-
@hostname = args[:hostname] if args.key?(:hostname)
|
816
|
-
@kernel_release = args[:kernel_release] if args.key?(:kernel_release)
|
817
|
-
@kernel_version = args[:kernel_version] if args.key?(:kernel_version)
|
818
|
-
@long_name = args[:long_name] if args.key?(:long_name)
|
819
|
-
@osconfig_agent_version = args[:osconfig_agent_version] if args.key?(:osconfig_agent_version)
|
820
|
-
@short_name = args[:short_name] if args.key?(:short_name)
|
821
|
-
@version = args[:version] if args.key?(:version)
|
822
|
-
end
|
823
|
-
end
|
824
|
-
|
825
|
-
# Software package information of the operating system.
|
826
|
-
class InventorySoftwarePackage
|
827
|
-
include Google::Apis::Core::Hashable
|
828
|
-
|
829
|
-
# Information related to the a standard versioned package. This includes package
|
830
|
-
# info for APT, Yum, Zypper, and Googet package managers.
|
831
|
-
# Corresponds to the JSON property `aptPackage`
|
832
|
-
# @return [Google::Apis::OsconfigV1beta::InventoryVersionedPackage]
|
833
|
-
attr_accessor :apt_package
|
834
|
-
|
835
|
-
# Information related to the a standard versioned package. This includes package
|
836
|
-
# info for APT, Yum, Zypper, and Googet package managers.
|
837
|
-
# Corresponds to the JSON property `cosPackage`
|
838
|
-
# @return [Google::Apis::OsconfigV1beta::InventoryVersionedPackage]
|
839
|
-
attr_accessor :cos_package
|
840
|
-
|
841
|
-
# Information related to the a standard versioned package. This includes package
|
842
|
-
# info for APT, Yum, Zypper, and Googet package managers.
|
843
|
-
# Corresponds to the JSON property `googetPackage`
|
844
|
-
# @return [Google::Apis::OsconfigV1beta::InventoryVersionedPackage]
|
845
|
-
attr_accessor :googet_package
|
846
|
-
|
847
|
-
# Information related to a Quick Fix Engineering package. Fields are taken from
|
848
|
-
# Windows QuickFixEngineering Interface and match the source names: https://docs.
|
849
|
-
# microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering
|
850
|
-
# Corresponds to the JSON property `qfePackage`
|
851
|
-
# @return [Google::Apis::OsconfigV1beta::InventoryWindowsQuickFixEngineeringPackage]
|
852
|
-
attr_accessor :qfe_package
|
853
|
-
|
854
|
-
# Details related to a Windows Update package. Field data and names are taken
|
855
|
-
# from Windows Update API IUpdate Interface: https://docs.microsoft.com/en-us/
|
856
|
-
# windows/win32/api/_wua/ Descriptive fields like title, and description are
|
857
|
-
# localized based on the locale of the VM being updated.
|
858
|
-
# Corresponds to the JSON property `wuaPackage`
|
859
|
-
# @return [Google::Apis::OsconfigV1beta::InventoryWindowsUpdatePackage]
|
860
|
-
attr_accessor :wua_package
|
861
|
-
|
862
|
-
# Information related to the a standard versioned package. This includes package
|
863
|
-
# info for APT, Yum, Zypper, and Googet package managers.
|
864
|
-
# Corresponds to the JSON property `yumPackage`
|
865
|
-
# @return [Google::Apis::OsconfigV1beta::InventoryVersionedPackage]
|
866
|
-
attr_accessor :yum_package
|
867
|
-
|
868
|
-
# Information related to the a standard versioned package. This includes package
|
869
|
-
# info for APT, Yum, Zypper, and Googet package managers.
|
870
|
-
# Corresponds to the JSON property `zypperPackage`
|
871
|
-
# @return [Google::Apis::OsconfigV1beta::InventoryVersionedPackage]
|
872
|
-
attr_accessor :zypper_package
|
873
|
-
|
874
|
-
# Details related to a Zypper Patch.
|
875
|
-
# Corresponds to the JSON property `zypperPatch`
|
876
|
-
# @return [Google::Apis::OsconfigV1beta::InventoryZypperPatch]
|
877
|
-
attr_accessor :zypper_patch
|
878
|
-
|
879
|
-
def initialize(**args)
|
880
|
-
update!(**args)
|
881
|
-
end
|
882
|
-
|
883
|
-
# Update properties of this object
|
884
|
-
def update!(**args)
|
885
|
-
@apt_package = args[:apt_package] if args.key?(:apt_package)
|
886
|
-
@cos_package = args[:cos_package] if args.key?(:cos_package)
|
887
|
-
@googet_package = args[:googet_package] if args.key?(:googet_package)
|
888
|
-
@qfe_package = args[:qfe_package] if args.key?(:qfe_package)
|
889
|
-
@wua_package = args[:wua_package] if args.key?(:wua_package)
|
890
|
-
@yum_package = args[:yum_package] if args.key?(:yum_package)
|
891
|
-
@zypper_package = args[:zypper_package] if args.key?(:zypper_package)
|
892
|
-
@zypper_patch = args[:zypper_patch] if args.key?(:zypper_patch)
|
893
|
-
end
|
894
|
-
end
|
895
|
-
|
896
|
-
# Information related to the a standard versioned package. This includes package
|
897
|
-
# info for APT, Yum, Zypper, and Googet package managers.
|
898
|
-
class InventoryVersionedPackage
|
899
|
-
include Google::Apis::Core::Hashable
|
900
|
-
|
901
|
-
# The system architecture this package is intended for.
|
902
|
-
# Corresponds to the JSON property `architecture`
|
903
|
-
# @return [String]
|
904
|
-
attr_accessor :architecture
|
905
|
-
|
906
|
-
# The name of the package.
|
907
|
-
# Corresponds to the JSON property `packageName`
|
908
|
-
# @return [String]
|
909
|
-
attr_accessor :package_name
|
910
|
-
|
911
|
-
# The version of the package.
|
912
|
-
# Corresponds to the JSON property `version`
|
913
|
-
# @return [String]
|
914
|
-
attr_accessor :version
|
915
|
-
|
916
|
-
def initialize(**args)
|
917
|
-
update!(**args)
|
918
|
-
end
|
919
|
-
|
920
|
-
# Update properties of this object
|
921
|
-
def update!(**args)
|
922
|
-
@architecture = args[:architecture] if args.key?(:architecture)
|
923
|
-
@package_name = args[:package_name] if args.key?(:package_name)
|
924
|
-
@version = args[:version] if args.key?(:version)
|
925
|
-
end
|
926
|
-
end
|
927
|
-
|
928
|
-
# Information related to a Quick Fix Engineering package. Fields are taken from
|
929
|
-
# Windows QuickFixEngineering Interface and match the source names: https://docs.
|
930
|
-
# microsoft.com/en-us/windows/win32/cimwin32prov/win32-quickfixengineering
|
931
|
-
class InventoryWindowsQuickFixEngineeringPackage
|
932
|
-
include Google::Apis::Core::Hashable
|
933
|
-
|
934
|
-
# A short textual description of the QFE update.
|
935
|
-
# Corresponds to the JSON property `caption`
|
936
|
-
# @return [String]
|
937
|
-
attr_accessor :caption
|
938
|
-
|
939
|
-
# A textual description of the QFE update.
|
940
|
-
# Corresponds to the JSON property `description`
|
941
|
-
# @return [String]
|
942
|
-
attr_accessor :description
|
943
|
-
|
944
|
-
# Unique identifier associated with a particular QFE update.
|
945
|
-
# Corresponds to the JSON property `hotFixId`
|
946
|
-
# @return [String]
|
947
|
-
attr_accessor :hot_fix_id
|
948
|
-
|
949
|
-
# Date that the QFE update was installed. Mapped from installed_on field.
|
950
|
-
# Corresponds to the JSON property `installTime`
|
951
|
-
# @return [String]
|
952
|
-
attr_accessor :install_time
|
953
|
-
|
954
|
-
def initialize(**args)
|
955
|
-
update!(**args)
|
956
|
-
end
|
957
|
-
|
958
|
-
# Update properties of this object
|
959
|
-
def update!(**args)
|
960
|
-
@caption = args[:caption] if args.key?(:caption)
|
961
|
-
@description = args[:description] if args.key?(:description)
|
962
|
-
@hot_fix_id = args[:hot_fix_id] if args.key?(:hot_fix_id)
|
963
|
-
@install_time = args[:install_time] if args.key?(:install_time)
|
964
|
-
end
|
965
|
-
end
|
966
|
-
|
967
|
-
# Details related to a Windows Update package. Field data and names are taken
|
968
|
-
# from Windows Update API IUpdate Interface: https://docs.microsoft.com/en-us/
|
969
|
-
# windows/win32/api/_wua/ Descriptive fields like title, and description are
|
970
|
-
# localized based on the locale of the VM being updated.
|
971
|
-
class InventoryWindowsUpdatePackage
|
972
|
-
include Google::Apis::Core::Hashable
|
973
|
-
|
974
|
-
# The categories that are associated with this update package.
|
975
|
-
# Corresponds to the JSON property `categories`
|
976
|
-
# @return [Array<Google::Apis::OsconfigV1beta::InventoryWindowsUpdatePackageWindowsUpdateCategory>]
|
977
|
-
attr_accessor :categories
|
978
|
-
|
979
|
-
# The localized description of the update package.
|
980
|
-
# Corresponds to the JSON property `description`
|
981
|
-
# @return [String]
|
982
|
-
attr_accessor :description
|
983
|
-
|
984
|
-
# A collection of Microsoft Knowledge Base article IDs that are associated with
|
985
|
-
# the update package.
|
986
|
-
# Corresponds to the JSON property `kbArticleIds`
|
987
|
-
# @return [Array<String>]
|
988
|
-
attr_accessor :kb_article_ids
|
989
|
-
|
990
|
-
# The last published date of the update, in (UTC) date and time.
|
991
|
-
# Corresponds to the JSON property `lastDeploymentChangeTime`
|
992
|
-
# @return [String]
|
993
|
-
attr_accessor :last_deployment_change_time
|
994
|
-
|
995
|
-
# A collection of URLs that provide more information about the update package.
|
996
|
-
# Corresponds to the JSON property `moreInfoUrls`
|
997
|
-
# @return [Array<String>]
|
998
|
-
attr_accessor :more_info_urls
|
999
|
-
|
1000
|
-
# The revision number of this update package.
|
1001
|
-
# Corresponds to the JSON property `revisionNumber`
|
1002
|
-
# @return [Fixnum]
|
1003
|
-
attr_accessor :revision_number
|
1004
|
-
|
1005
|
-
# A hyperlink to the language-specific support information for the update.
|
1006
|
-
# Corresponds to the JSON property `supportUrl`
|
1007
|
-
# @return [String]
|
1008
|
-
attr_accessor :support_url
|
1009
|
-
|
1010
|
-
# The localized title of the update package.
|
1011
|
-
# Corresponds to the JSON property `title`
|
1012
|
-
# @return [String]
|
1013
|
-
attr_accessor :title
|
1014
|
-
|
1015
|
-
# Gets the identifier of an update package. Stays the same across revisions.
|
1016
|
-
# Corresponds to the JSON property `updateId`
|
1017
|
-
# @return [String]
|
1018
|
-
attr_accessor :update_id
|
1019
|
-
|
1020
|
-
def initialize(**args)
|
1021
|
-
update!(**args)
|
1022
|
-
end
|
1023
|
-
|
1024
|
-
# Update properties of this object
|
1025
|
-
def update!(**args)
|
1026
|
-
@categories = args[:categories] if args.key?(:categories)
|
1027
|
-
@description = args[:description] if args.key?(:description)
|
1028
|
-
@kb_article_ids = args[:kb_article_ids] if args.key?(:kb_article_ids)
|
1029
|
-
@last_deployment_change_time = args[:last_deployment_change_time] if args.key?(:last_deployment_change_time)
|
1030
|
-
@more_info_urls = args[:more_info_urls] if args.key?(:more_info_urls)
|
1031
|
-
@revision_number = args[:revision_number] if args.key?(:revision_number)
|
1032
|
-
@support_url = args[:support_url] if args.key?(:support_url)
|
1033
|
-
@title = args[:title] if args.key?(:title)
|
1034
|
-
@update_id = args[:update_id] if args.key?(:update_id)
|
1035
|
-
end
|
1036
|
-
end
|
1037
|
-
|
1038
|
-
# Categories specified by the Windows Update.
|
1039
|
-
class InventoryWindowsUpdatePackageWindowsUpdateCategory
|
1040
|
-
include Google::Apis::Core::Hashable
|
1041
|
-
|
1042
|
-
# The identifier of the windows update category.
|
1043
|
-
# Corresponds to the JSON property `id`
|
1044
|
-
# @return [String]
|
1045
|
-
attr_accessor :id
|
1046
|
-
|
1047
|
-
# The name of the windows update category.
|
1048
|
-
# Corresponds to the JSON property `name`
|
1049
|
-
# @return [String]
|
1050
|
-
attr_accessor :name
|
1051
|
-
|
1052
|
-
def initialize(**args)
|
1053
|
-
update!(**args)
|
1054
|
-
end
|
1055
|
-
|
1056
|
-
# Update properties of this object
|
1057
|
-
def update!(**args)
|
1058
|
-
@id = args[:id] if args.key?(:id)
|
1059
|
-
@name = args[:name] if args.key?(:name)
|
1060
|
-
end
|
1061
|
-
end
|
1062
|
-
|
1063
|
-
# Details related to a Zypper Patch.
|
1064
|
-
class InventoryZypperPatch
|
1065
|
-
include Google::Apis::Core::Hashable
|
1066
|
-
|
1067
|
-
# The category of the patch.
|
1068
|
-
# Corresponds to the JSON property `category`
|
1069
|
-
# @return [String]
|
1070
|
-
attr_accessor :category
|
1071
|
-
|
1072
|
-
# The name of the patch.
|
1073
|
-
# Corresponds to the JSON property `patchName`
|
1074
|
-
# @return [String]
|
1075
|
-
attr_accessor :patch_name
|
1076
|
-
|
1077
|
-
# The severity specified for this patch
|
1078
|
-
# Corresponds to the JSON property `severity`
|
1079
|
-
# @return [String]
|
1080
|
-
attr_accessor :severity
|
1081
|
-
|
1082
|
-
# Any summary information provided about this patch.
|
1083
|
-
# Corresponds to the JSON property `summary`
|
1084
|
-
# @return [String]
|
1085
|
-
attr_accessor :summary
|
1086
|
-
|
1087
|
-
def initialize(**args)
|
1088
|
-
update!(**args)
|
1089
|
-
end
|
1090
|
-
|
1091
|
-
# Update properties of this object
|
1092
|
-
def update!(**args)
|
1093
|
-
@category = args[:category] if args.key?(:category)
|
1094
|
-
@patch_name = args[:patch_name] if args.key?(:patch_name)
|
1095
|
-
@severity = args[:severity] if args.key?(:severity)
|
1096
|
-
@summary = args[:summary] if args.key?(:summary)
|
1097
|
-
end
|
1098
|
-
end
|
1099
|
-
|
1100
681
|
# A response message for listing guest policies.
|
1101
682
|
class ListGuestPoliciesResponse
|
1102
683
|
include Google::Apis::Core::Hashable
|
@@ -1261,6 +842,52 @@ module Google
|
|
1261
842
|
end
|
1262
843
|
end
|
1263
844
|
|
845
|
+
# OS policy assignment operation metadata provided by OS policy assignment API
|
846
|
+
# methods that return long running operations.
|
847
|
+
class OsPolicyAssignmentOperationMetadata
|
848
|
+
include Google::Apis::Core::Hashable
|
849
|
+
|
850
|
+
# The OS policy assignment API method.
|
851
|
+
# Corresponds to the JSON property `apiMethod`
|
852
|
+
# @return [String]
|
853
|
+
attr_accessor :api_method
|
854
|
+
|
855
|
+
# Reference to the `OSPolicyAssignment` API resource. Format: `projects/`
|
856
|
+
# project_number`/locations/`location`/osPolicyAssignments/`
|
857
|
+
# os_policy_assignment_id@revision_id``
|
858
|
+
# Corresponds to the JSON property `osPolicyAssignment`
|
859
|
+
# @return [String]
|
860
|
+
attr_accessor :os_policy_assignment
|
861
|
+
|
862
|
+
# Rollout start time
|
863
|
+
# Corresponds to the JSON property `rolloutStartTime`
|
864
|
+
# @return [String]
|
865
|
+
attr_accessor :rollout_start_time
|
866
|
+
|
867
|
+
# State of the rollout
|
868
|
+
# Corresponds to the JSON property `rolloutState`
|
869
|
+
# @return [String]
|
870
|
+
attr_accessor :rollout_state
|
871
|
+
|
872
|
+
# Rollout update time
|
873
|
+
# Corresponds to the JSON property `rolloutUpdateTime`
|
874
|
+
# @return [String]
|
875
|
+
attr_accessor :rollout_update_time
|
876
|
+
|
877
|
+
def initialize(**args)
|
878
|
+
update!(**args)
|
879
|
+
end
|
880
|
+
|
881
|
+
# Update properties of this object
|
882
|
+
def update!(**args)
|
883
|
+
@api_method = args[:api_method] if args.key?(:api_method)
|
884
|
+
@os_policy_assignment = args[:os_policy_assignment] if args.key?(:os_policy_assignment)
|
885
|
+
@rollout_start_time = args[:rollout_start_time] if args.key?(:rollout_start_time)
|
886
|
+
@rollout_state = args[:rollout_state] if args.key?(:rollout_state)
|
887
|
+
@rollout_update_time = args[:rollout_update_time] if args.key?(:rollout_update_time)
|
888
|
+
end
|
889
|
+
end
|
890
|
+
|
1264
891
|
# Sets the time for a one time patch deployment. Timestamp is in [RFC3339](https:
|
1265
892
|
# //www.ietf.org/rfc/rfc3339.txt) text format.
|
1266
893
|
class OneTimeSchedule
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module OsconfigV1beta
|
18
18
|
# Version of the google-apis-osconfig_v1beta gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.6.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.2.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20210427"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -136,60 +136,6 @@ module Google
|
|
136
136
|
include Google::Apis::Core::JsonObjectSupport
|
137
137
|
end
|
138
138
|
|
139
|
-
class Inventory
|
140
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
141
|
-
|
142
|
-
include Google::Apis::Core::JsonObjectSupport
|
143
|
-
end
|
144
|
-
|
145
|
-
class InventoryItem
|
146
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
147
|
-
|
148
|
-
include Google::Apis::Core::JsonObjectSupport
|
149
|
-
end
|
150
|
-
|
151
|
-
class InventoryOsInfo
|
152
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
153
|
-
|
154
|
-
include Google::Apis::Core::JsonObjectSupport
|
155
|
-
end
|
156
|
-
|
157
|
-
class InventorySoftwarePackage
|
158
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
159
|
-
|
160
|
-
include Google::Apis::Core::JsonObjectSupport
|
161
|
-
end
|
162
|
-
|
163
|
-
class InventoryVersionedPackage
|
164
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
165
|
-
|
166
|
-
include Google::Apis::Core::JsonObjectSupport
|
167
|
-
end
|
168
|
-
|
169
|
-
class InventoryWindowsQuickFixEngineeringPackage
|
170
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
171
|
-
|
172
|
-
include Google::Apis::Core::JsonObjectSupport
|
173
|
-
end
|
174
|
-
|
175
|
-
class InventoryWindowsUpdatePackage
|
176
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
-
|
178
|
-
include Google::Apis::Core::JsonObjectSupport
|
179
|
-
end
|
180
|
-
|
181
|
-
class InventoryWindowsUpdatePackageWindowsUpdateCategory
|
182
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
183
|
-
|
184
|
-
include Google::Apis::Core::JsonObjectSupport
|
185
|
-
end
|
186
|
-
|
187
|
-
class InventoryZypperPatch
|
188
|
-
class Representation < Google::Apis::Core::JsonRepresentation; end
|
189
|
-
|
190
|
-
include Google::Apis::Core::JsonObjectSupport
|
191
|
-
end
|
192
|
-
|
193
139
|
class ListGuestPoliciesResponse
|
194
140
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
195
141
|
|
@@ -226,6 +172,12 @@ module Google
|
|
226
172
|
include Google::Apis::Core::JsonObjectSupport
|
227
173
|
end
|
228
174
|
|
175
|
+
class OsPolicyAssignmentOperationMetadata
|
176
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
177
|
+
|
178
|
+
include Google::Apis::Core::JsonObjectSupport
|
179
|
+
end
|
180
|
+
|
229
181
|
class OneTimeSchedule
|
230
182
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
183
|
|
@@ -611,120 +563,6 @@ module Google
|
|
611
563
|
end
|
612
564
|
end
|
613
565
|
|
614
|
-
class Inventory
|
615
|
-
# @private
|
616
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
617
|
-
hash :items, as: 'items', class: Google::Apis::OsconfigV1beta::InventoryItem, decorator: Google::Apis::OsconfigV1beta::InventoryItem::Representation
|
618
|
-
|
619
|
-
property :os_info, as: 'osInfo', class: Google::Apis::OsconfigV1beta::InventoryOsInfo, decorator: Google::Apis::OsconfigV1beta::InventoryOsInfo::Representation
|
620
|
-
|
621
|
-
end
|
622
|
-
end
|
623
|
-
|
624
|
-
class InventoryItem
|
625
|
-
# @private
|
626
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
627
|
-
property :available_package, as: 'availablePackage', class: Google::Apis::OsconfigV1beta::InventorySoftwarePackage, decorator: Google::Apis::OsconfigV1beta::InventorySoftwarePackage::Representation
|
628
|
-
|
629
|
-
property :create_time, as: 'createTime'
|
630
|
-
property :id, as: 'id'
|
631
|
-
property :installed_package, as: 'installedPackage', class: Google::Apis::OsconfigV1beta::InventorySoftwarePackage, decorator: Google::Apis::OsconfigV1beta::InventorySoftwarePackage::Representation
|
632
|
-
|
633
|
-
property :origin_type, as: 'originType'
|
634
|
-
property :type, as: 'type'
|
635
|
-
property :update_time, as: 'updateTime'
|
636
|
-
end
|
637
|
-
end
|
638
|
-
|
639
|
-
class InventoryOsInfo
|
640
|
-
# @private
|
641
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
642
|
-
property :architecture, as: 'architecture'
|
643
|
-
property :hostname, as: 'hostname'
|
644
|
-
property :kernel_release, as: 'kernelRelease'
|
645
|
-
property :kernel_version, as: 'kernelVersion'
|
646
|
-
property :long_name, as: 'longName'
|
647
|
-
property :osconfig_agent_version, as: 'osconfigAgentVersion'
|
648
|
-
property :short_name, as: 'shortName'
|
649
|
-
property :version, as: 'version'
|
650
|
-
end
|
651
|
-
end
|
652
|
-
|
653
|
-
class InventorySoftwarePackage
|
654
|
-
# @private
|
655
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
656
|
-
property :apt_package, as: 'aptPackage', class: Google::Apis::OsconfigV1beta::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1beta::InventoryVersionedPackage::Representation
|
657
|
-
|
658
|
-
property :cos_package, as: 'cosPackage', class: Google::Apis::OsconfigV1beta::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1beta::InventoryVersionedPackage::Representation
|
659
|
-
|
660
|
-
property :googet_package, as: 'googetPackage', class: Google::Apis::OsconfigV1beta::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1beta::InventoryVersionedPackage::Representation
|
661
|
-
|
662
|
-
property :qfe_package, as: 'qfePackage', class: Google::Apis::OsconfigV1beta::InventoryWindowsQuickFixEngineeringPackage, decorator: Google::Apis::OsconfigV1beta::InventoryWindowsQuickFixEngineeringPackage::Representation
|
663
|
-
|
664
|
-
property :wua_package, as: 'wuaPackage', class: Google::Apis::OsconfigV1beta::InventoryWindowsUpdatePackage, decorator: Google::Apis::OsconfigV1beta::InventoryWindowsUpdatePackage::Representation
|
665
|
-
|
666
|
-
property :yum_package, as: 'yumPackage', class: Google::Apis::OsconfigV1beta::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1beta::InventoryVersionedPackage::Representation
|
667
|
-
|
668
|
-
property :zypper_package, as: 'zypperPackage', class: Google::Apis::OsconfigV1beta::InventoryVersionedPackage, decorator: Google::Apis::OsconfigV1beta::InventoryVersionedPackage::Representation
|
669
|
-
|
670
|
-
property :zypper_patch, as: 'zypperPatch', class: Google::Apis::OsconfigV1beta::InventoryZypperPatch, decorator: Google::Apis::OsconfigV1beta::InventoryZypperPatch::Representation
|
671
|
-
|
672
|
-
end
|
673
|
-
end
|
674
|
-
|
675
|
-
class InventoryVersionedPackage
|
676
|
-
# @private
|
677
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
678
|
-
property :architecture, as: 'architecture'
|
679
|
-
property :package_name, as: 'packageName'
|
680
|
-
property :version, as: 'version'
|
681
|
-
end
|
682
|
-
end
|
683
|
-
|
684
|
-
class InventoryWindowsQuickFixEngineeringPackage
|
685
|
-
# @private
|
686
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
687
|
-
property :caption, as: 'caption'
|
688
|
-
property :description, as: 'description'
|
689
|
-
property :hot_fix_id, as: 'hotFixId'
|
690
|
-
property :install_time, as: 'installTime'
|
691
|
-
end
|
692
|
-
end
|
693
|
-
|
694
|
-
class InventoryWindowsUpdatePackage
|
695
|
-
# @private
|
696
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
697
|
-
collection :categories, as: 'categories', class: Google::Apis::OsconfigV1beta::InventoryWindowsUpdatePackageWindowsUpdateCategory, decorator: Google::Apis::OsconfigV1beta::InventoryWindowsUpdatePackageWindowsUpdateCategory::Representation
|
698
|
-
|
699
|
-
property :description, as: 'description'
|
700
|
-
collection :kb_article_ids, as: 'kbArticleIds'
|
701
|
-
property :last_deployment_change_time, as: 'lastDeploymentChangeTime'
|
702
|
-
collection :more_info_urls, as: 'moreInfoUrls'
|
703
|
-
property :revision_number, as: 'revisionNumber'
|
704
|
-
property :support_url, as: 'supportUrl'
|
705
|
-
property :title, as: 'title'
|
706
|
-
property :update_id, as: 'updateId'
|
707
|
-
end
|
708
|
-
end
|
709
|
-
|
710
|
-
class InventoryWindowsUpdatePackageWindowsUpdateCategory
|
711
|
-
# @private
|
712
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
713
|
-
property :id, as: 'id'
|
714
|
-
property :name, as: 'name'
|
715
|
-
end
|
716
|
-
end
|
717
|
-
|
718
|
-
class InventoryZypperPatch
|
719
|
-
# @private
|
720
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
721
|
-
property :category, as: 'category'
|
722
|
-
property :patch_name, as: 'patchName'
|
723
|
-
property :severity, as: 'severity'
|
724
|
-
property :summary, as: 'summary'
|
725
|
-
end
|
726
|
-
end
|
727
|
-
|
728
566
|
class ListGuestPoliciesResponse
|
729
567
|
# @private
|
730
568
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -779,6 +617,17 @@ module Google
|
|
779
617
|
end
|
780
618
|
end
|
781
619
|
|
620
|
+
class OsPolicyAssignmentOperationMetadata
|
621
|
+
# @private
|
622
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
623
|
+
property :api_method, as: 'apiMethod'
|
624
|
+
property :os_policy_assignment, as: 'osPolicyAssignment'
|
625
|
+
property :rollout_start_time, as: 'rolloutStartTime'
|
626
|
+
property :rollout_state, as: 'rolloutState'
|
627
|
+
property :rollout_update_time, as: 'rolloutUpdateTime'
|
628
|
+
end
|
629
|
+
end
|
630
|
+
|
782
631
|
class OneTimeSchedule
|
783
632
|
# @private
|
784
633
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -31,7 +31,7 @@ module Google
|
|
31
31
|
# Osconfig = Google::Apis::OsconfigV1beta # Alias the module
|
32
32
|
# service = Osconfig::OSConfigService.new
|
33
33
|
#
|
34
|
-
# @see https://cloud.google.com/compute/docs/
|
34
|
+
# @see https://cloud.google.com/compute/docs/osconfig/rest
|
35
35
|
class OSConfigService < Google::Apis::Core::BaseService
|
36
36
|
# @return [String]
|
37
37
|
# API key. Your API key identifies your project and provides you with API access,
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-osconfig_v1beta
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.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: 2021-
|
11
|
+
date: 2021-05-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -52,7 +52,7 @@ licenses:
|
|
52
52
|
metadata:
|
53
53
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
54
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-osconfig_v1beta/CHANGELOG.md
|
55
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1beta/v0.
|
55
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1beta/v0.6.0
|
56
56
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-osconfig_v1beta
|
57
57
|
post_install_message:
|
58
58
|
rdoc_options: []
|
@@ -62,14 +62,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
62
62
|
requirements:
|
63
63
|
- - ">="
|
64
64
|
- !ruby/object:Gem::Version
|
65
|
-
version: '2.
|
65
|
+
version: '2.5'
|
66
66
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
68
|
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
70
|
version: '0'
|
71
71
|
requirements: []
|
72
|
-
rubygems_version: 3.
|
72
|
+
rubygems_version: 3.2.17
|
73
73
|
signing_key:
|
74
74
|
specification_version: 4
|
75
75
|
summary: Simple REST client for OS Config API V1beta
|