google-apis-osconfig_v1 0.3.0 → 0.8.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 +4 -4
- data/CHANGELOG.md +20 -0
- data/OVERVIEW.md +1 -1
- data/lib/google/apis/osconfig_v1.rb +2 -2
- data/lib/google/apis/osconfig_v1/classes.rb +46 -0
- data/lib/google/apis/osconfig_v1/gem_version.rb +3 -3
- data/lib/google/apis/osconfig_v1/representations.rb +17 -0
- data/lib/google/apis/osconfig_v1/service.rb +1 -1
- metadata +14 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3ea1f466ec5ee200384e0e98cc3250b9800675df320f055257af03439eb8489
|
4
|
+
data.tar.gz: c4e7f7357f8d79c8165496409413ee6ec9affc487d1c2effe4b7c56ad9e1c2cc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cddff18d4ea73e5b3c0355f08e86e0c6d08fe982ca9cc3335ce557e0627a168c0465ba26b0bd1f5807c964a237f34e9282ff0402091b00c4ac7235d85b565f3a
|
7
|
+
data.tar.gz: 21566f8b69d92e1115f1aa4dc61a9bb9e20cb613e7a0865e580074e598a5c098971173496f68a9f24183a3d87075015255427187fb4409770f2bf1f225312cc1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,25 @@
|
|
1
1
|
# Release history for google-apis-osconfig_v1
|
2
2
|
|
3
|
+
### v0.8.0 (2021-06-29)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.4.0
|
6
|
+
|
7
|
+
### v0.7.0 (2021-06-24)
|
8
|
+
|
9
|
+
* Regenerated using generator version 0.3.0
|
10
|
+
|
11
|
+
### v0.6.0 (2021-05-19)
|
12
|
+
|
13
|
+
* Unspecified changes
|
14
|
+
|
15
|
+
### v0.5.0 (2021-05-01)
|
16
|
+
|
17
|
+
* Regenerated from discovery document revision 20210427
|
18
|
+
|
19
|
+
### v0.4.0 (2021-03-28)
|
20
|
+
|
21
|
+
* Regenerated from discovery document revision 20210322
|
22
|
+
|
3
23
|
### v0.3.0 (2021-03-20)
|
4
24
|
|
5
25
|
* Regenerated from discovery document revision 20210312
|
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 OsconfigV1
|
29
29
|
# Version of the OS Config API this client connects to.
|
30
30
|
# This is NOT the gem version.
|
31
31
|
VERSION = 'V1'
|
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
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.8.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.4.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
|
@@ -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/
|
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,29 +1,35 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-osconfig_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.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-07-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.4'
|
20
|
+
- - "<"
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.a
|
20
23
|
type: :runtime
|
21
24
|
prerelease: false
|
22
25
|
version_requirements: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
|
-
- - "
|
27
|
+
- - ">="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0.4'
|
30
|
+
- - "<"
|
25
31
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
32
|
+
version: 2.a
|
27
33
|
description: This is the simple REST client for OS Config API V1. Simple REST clients
|
28
34
|
are Ruby client libraries that provide access to Google services via their HTTP
|
29
35
|
REST API endpoints. These libraries are generated and updated automatically based
|
@@ -52,7 +58,7 @@ licenses:
|
|
52
58
|
metadata:
|
53
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
54
60
|
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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1/v0.8.0
|
56
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-osconfig_v1
|
57
63
|
post_install_message:
|
58
64
|
rdoc_options: []
|
@@ -69,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
69
75
|
- !ruby/object:Gem::Version
|
70
76
|
version: '0'
|
71
77
|
requirements: []
|
72
|
-
rubygems_version: 3.2.
|
78
|
+
rubygems_version: 3.2.17
|
73
79
|
signing_key:
|
74
80
|
specification_version: 4
|
75
81
|
summary: Simple REST client for OS Config API V1
|