google-apis-osconfig_v1 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: 426bbf50d99b764c42eb1dedcacf9cbb6038b1a43a613e8dc767273a88968b06
4
- data.tar.gz: 3c7d78d3b0aa41215a44e95233103024b0facde8715c1ba3e6578c31d3c26503
3
+ metadata.gz: 4b2b6f3c159e8151b03553baa13e2fd29fdd8bf379c88bcdd88d17b2345048c2
4
+ data.tar.gz: c9f43f4c69ab8ee46b6f875456f931e996346f3e435f5c2d8f840a56d35c7fe1
5
5
  SHA512:
6
- metadata.gz: 6443e6708861061b3699d54960a81f7045ee337e07a7d286aecab86ec7d7b373840a6b13e6acd42de969fed72320fea886d6457eab6e797bfff29bdb95f87b7d
7
- data.tar.gz: e6971f21853e56e1f8941b78cc28df14cb844bd6dccf7c994608c7ca84a6a7a8dcaa654c07a774d33d5f84590f3caa87cea53adb4582cba4c0512047ce7f0e8e
6
+ metadata.gz: f75865784aa960d4e839db85dfa393a3e2ce3e48c9863deb06f38e34a09a7e6c5aa0d0af4046c77e45fd2b31f6f12fb5d392ab5cde578bae3600f2bc605dbd5c
7
+ data.tar.gz: 560c80955ea405934c3afe9cf1c26b4fd06fe660f797d15dc84872df2539ee129643d627355d599a9e286d04ac043181601834cc628616f5a98b9608b0a0b7b7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-osconfig_v1
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 OsconfigV1
29
29
  # Version of the OS Config API this client connects to.
30
30
  # This is NOT the gem version.
@@ -834,6 +834,52 @@ module Google
834
834
  end
835
835
  end
836
836
 
837
+ # OS policy assignment operation metadata provided by OS policy assignment API
838
+ # methods that return long running operations.
839
+ class OsPolicyAssignmentOperationMetadata
840
+ include Google::Apis::Core::Hashable
841
+
842
+ # The OS policy assignment API method.
843
+ # Corresponds to the JSON property `apiMethod`
844
+ # @return [String]
845
+ attr_accessor :api_method
846
+
847
+ # Reference to the `OSPolicyAssignment` API resource. Format: `projects/`
848
+ # project_number`/locations/`location`/osPolicyAssignments/`
849
+ # os_policy_assignment_id@revision_id``
850
+ # Corresponds to the JSON property `osPolicyAssignment`
851
+ # @return [String]
852
+ attr_accessor :os_policy_assignment
853
+
854
+ # Rollout start time
855
+ # Corresponds to the JSON property `rolloutStartTime`
856
+ # @return [String]
857
+ attr_accessor :rollout_start_time
858
+
859
+ # State of the rollout
860
+ # Corresponds to the JSON property `rolloutState`
861
+ # @return [String]
862
+ attr_accessor :rollout_state
863
+
864
+ # Rollout update time
865
+ # Corresponds to the JSON property `rolloutUpdateTime`
866
+ # @return [String]
867
+ attr_accessor :rollout_update_time
868
+
869
+ def initialize(**args)
870
+ update!(**args)
871
+ end
872
+
873
+ # Update properties of this object
874
+ def update!(**args)
875
+ @api_method = args[:api_method] if args.key?(:api_method)
876
+ @os_policy_assignment = args[:os_policy_assignment] if args.key?(:os_policy_assignment)
877
+ @rollout_start_time = args[:rollout_start_time] if args.key?(:rollout_start_time)
878
+ @rollout_state = args[:rollout_state] if args.key?(:rollout_state)
879
+ @rollout_update_time = args[:rollout_update_time] if args.key?(:rollout_update_time)
880
+ end
881
+ end
882
+
837
883
  # Sets the time for a one time patch deployment. Timestamp is in [RFC3339](https:
838
884
  # //www.ietf.org/rfc/rfc3339.txt) text format.
839
885
  class OneTimeSchedule
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module OsconfigV1
18
18
  # Version of the google-apis-osconfig_v1 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
@@ -160,6 +160,12 @@ module Google
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
+ class OsPolicyAssignmentOperationMetadata
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
163
169
  class OneTimeSchedule
164
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
171
 
@@ -514,6 +520,17 @@ module Google
514
520
  end
515
521
  end
516
522
 
523
+ class OsPolicyAssignmentOperationMetadata
524
+ # @private
525
+ class Representation < Google::Apis::Core::JsonRepresentation
526
+ property :api_method, as: 'apiMethod'
527
+ property :os_policy_assignment, as: 'osPolicyAssignment'
528
+ property :rollout_start_time, as: 'rolloutStartTime'
529
+ property :rollout_state, as: 'rolloutState'
530
+ property :rollout_update_time, as: 'rolloutUpdateTime'
531
+ end
532
+ end
533
+
517
534
  class OneTimeSchedule
518
535
  # @private
519
536
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -31,7 +31,7 @@ module Google
31
31
  # Osconfig = Google::Apis::OsconfigV1 # 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_v1
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_v1/CHANGELOG.md
55
- documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.4.0
55
+ documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.5.0
56
56
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-osconfig_v1
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 V1