google-apis-osconfig_v1beta 0.4.0 → 0.5.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: 4b58752792201c9cf0168fd60c6c5b7757225682ccf67b4efbe332299be87415
4
- data.tar.gz: 95b6a48170ac9d4be37576d9d96ed1d83ce62e2fff26cabfde662566f00ccd3b
3
+ metadata.gz: b62abc4342762eaa43ae07e88300503e6533338c88bf39f6212b89d83e0e4a67
4
+ data.tar.gz: 6c3eaef5709111c866287ded68b1b2bf3261be1d59a2da98eb343ee320faeced
5
5
  SHA512:
6
- metadata.gz: 4abd30ffb6619122b066261ffc14098ba53803b7f82867c9dd2a8620b5f88be77367b683374c1ff58bbe9b13daad08f0e0969144c5e21969da912ca1d47aebe6
7
- data.tar.gz: a30c876d971167b1f80f97d06564df724bd6293313463212ebab5b5700e719b6c7bed619759ec22ea5ba97ce6e3e616f63937a31f2f7b56b4ef5c9a803fd40ae
6
+ metadata.gz: 937475b3c7870b4d42db79d9ffdd19d3816e228b7355b9518764482d18cc851ff815746b77fe6206cab2515b5acf68ec64dc9e203d7dcc43017b97f2560297b4
7
+ data.tar.gz: 2a59cabb02f4495a25bc79bde6d5f07873f5af66243dd0c922bc51ffcdf30f49e3bcae63a483f61386b52d75bf9041e200b2983615226e633bacd3a0229675f7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-osconfig_v1beta
2
2
 
3
+ ### v0.5.0 (2021-05-01)
4
+
5
+ * Regenerated from discovery document revision 20210427
6
+
3
7
  ### v0.4.0 (2021-03-28)
4
8
 
5
9
  * Regenerated from discovery document revision 20210322
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/manage-os) may provide guidance regarding the preferred client library to use.
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,7 +24,7 @@ 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/manage-os
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.
@@ -842,6 +842,52 @@ module Google
842
842
  end
843
843
  end
844
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
+
845
891
  # Sets the time for a one time patch deployment. Timestamp is in [RFC3339](https:
846
892
  # //www.ietf.org/rfc/rfc3339.txt) text format.
847
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.4.0"
19
+ GEM_VERSION = "0.5.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.2.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210322"
25
+ REVISION = "20210427"
26
26
  end
27
27
  end
28
28
  end
@@ -172,6 +172,12 @@ module Google
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
+ class OsPolicyAssignmentOperationMetadata
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
175
181
  class OneTimeSchedule
176
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
183
 
@@ -611,6 +617,17 @@ module Google
611
617
  end
612
618
  end
613
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
+
614
631
  class OneTimeSchedule
615
632
  # @private
616
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/manage-os
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.0
4
+ version: 0.5.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-03-29 00:00:00.000000000 Z
11
+ date: 2021-05-18 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.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1beta/v0.5.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: []
@@ -69,7 +69,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
71
  requirements: []
72
- rubygems_version: 3.2.13
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