google-apis-osconfig_v1beta 0.9.0 → 0.13.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 +16 -0
 - data/OVERVIEW.md +2 -2
 - data/lib/google/apis/osconfig_v1beta/classes.rb +90 -0
 - data/lib/google/apis/osconfig_v1beta/gem_version.rb +2 -2
 - data/lib/google/apis/osconfig_v1beta/representations.rb +43 -0
 - data/lib/google/apis/osconfig_v1beta/service.rb +110 -0
 - 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: b36ba7514b41eee38da7ce2976a673f9c61d6fe52faa2d9ca7b99e4bd8c78d54
         
     | 
| 
      
 4 
     | 
    
         
            +
              data.tar.gz: d217e4367ef186d15f0a8decc3321277e4ac8026c702c16951751a226a0b22cf
         
     | 
| 
       5 
5 
     | 
    
         
             
            SHA512:
         
     | 
| 
       6 
     | 
    
         
            -
              metadata.gz:  
     | 
| 
       7 
     | 
    
         
            -
              data.tar.gz:  
     | 
| 
      
 6 
     | 
    
         
            +
              metadata.gz: ae53ce018b8bcadb853e439213063a959a5d1271bacf925adf3dfc893d3488d6eeb6c5068373ff9f89dcd50d73f7a90c9822a921330e674d964bd7f69d23ed32
         
     | 
| 
      
 7 
     | 
    
         
            +
              data.tar.gz: 6faff93f4481f8522c172726f1946ba82fd9882423eac9cb3a3e89627f5826ccc42b3375666a2782d1e89a044fdec966a172bb554114d9bce05a8266fa2b30e9
         
     | 
    
        data/CHANGELOG.md
    CHANGED
    
    | 
         @@ -1,5 +1,21 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            # Release history for google-apis-osconfig_v1beta
         
     | 
| 
       2 
2 
     | 
    
         | 
| 
      
 3 
     | 
    
         
            +
            ### v0.13.0 (2021-12-11)
         
     | 
| 
      
 4 
     | 
    
         
            +
             
     | 
| 
      
 5 
     | 
    
         
            +
            * Regenerated from discovery document revision 20211203
         
     | 
| 
      
 6 
     | 
    
         
            +
             
     | 
| 
      
 7 
     | 
    
         
            +
            ### v0.12.0 (2021-11-17)
         
     | 
| 
      
 8 
     | 
    
         
            +
             
     | 
| 
      
 9 
     | 
    
         
            +
            * Regenerated from discovery document revision 20211106
         
     | 
| 
      
 10 
     | 
    
         
            +
             
     | 
| 
      
 11 
     | 
    
         
            +
            ### v0.11.0 (2021-11-06)
         
     | 
| 
      
 12 
     | 
    
         
            +
             
     | 
| 
      
 13 
     | 
    
         
            +
            * Regenerated from discovery document revision 20211029
         
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            ### v0.10.0 (2021-10-21)
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            * Unspecified changes
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
       3 
19 
     | 
    
         
             
            ### v0.9.0 (2021-09-01)
         
     | 
| 
       4 
20 
     | 
    
         | 
| 
       5 
21 
     | 
    
         
             
            * Regenerated from discovery document revision 20210806
         
     | 
    
        data/OVERVIEW.md
    CHANGED
    
    | 
         @@ -60,8 +60,8 @@ See the class reference docs for information on the methods you can call from a 
     | 
|
| 
       60 
60 
     | 
    
         | 
| 
       61 
61 
     | 
    
         
             
            More detailed descriptions of the Google simple REST clients are available in two documents.
         
     | 
| 
       62 
62 
     | 
    
         | 
| 
       63 
     | 
    
         
            -
             *  The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/ 
     | 
| 
       64 
     | 
    
         
            -
             *  The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/ 
     | 
| 
      
 63 
     | 
    
         
            +
             *  The [Usage Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/usage-guide.md) discusses how to make API calls, how to use the provided data structures, and how to work the various features of the client library, including media upload and download, error handling, retries, pagination, and logging.
         
     | 
| 
      
 64 
     | 
    
         
            +
             *  The [Auth Guide](https://github.com/googleapis/google-api-ruby-client/blob/main/docs/auth-guide.md) discusses authentication in the client libraries, including API keys, OAuth 2.0, service accounts, and environment variables.
         
     | 
| 
       65 
65 
     | 
    
         | 
| 
       66 
66 
     | 
    
         
             
            (Note: the above documents are written for the simple REST clients in general, and their examples may not reflect the Osconfig service in particular.)
         
     | 
| 
       67 
67 
     | 
    
         | 
| 
         @@ -598,6 +598,52 @@ module Google 
     | 
|
| 
       598 
598 
     | 
    
         
             
                    end
         
     | 
| 
       599 
599 
     | 
    
         
             
                  end
         
     | 
| 
       600 
600 
     | 
    
         | 
| 
      
 601 
     | 
    
         
            +
                  # OS policy assignment operation metadata provided by OS policy assignment API
         
     | 
| 
      
 602 
     | 
    
         
            +
                  # methods that return long running operations.
         
     | 
| 
      
 603 
     | 
    
         
            +
                  class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
         
     | 
| 
      
 604 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 605 
     | 
    
         
            +
                  
         
     | 
| 
      
 606 
     | 
    
         
            +
                    # The OS policy assignment API method.
         
     | 
| 
      
 607 
     | 
    
         
            +
                    # Corresponds to the JSON property `apiMethod`
         
     | 
| 
      
 608 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 609 
     | 
    
         
            +
                    attr_accessor :api_method
         
     | 
| 
      
 610 
     | 
    
         
            +
                  
         
     | 
| 
      
 611 
     | 
    
         
            +
                    # Reference to the `OSPolicyAssignment` API resource. Format: `projects/`
         
     | 
| 
      
 612 
     | 
    
         
            +
                    # project_number`/locations/`location`/osPolicyAssignments/`
         
     | 
| 
      
 613 
     | 
    
         
            +
                    # os_policy_assignment_id@revision_id``
         
     | 
| 
      
 614 
     | 
    
         
            +
                    # Corresponds to the JSON property `osPolicyAssignment`
         
     | 
| 
      
 615 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 616 
     | 
    
         
            +
                    attr_accessor :os_policy_assignment
         
     | 
| 
      
 617 
     | 
    
         
            +
                  
         
     | 
| 
      
 618 
     | 
    
         
            +
                    # Rollout start time
         
     | 
| 
      
 619 
     | 
    
         
            +
                    # Corresponds to the JSON property `rolloutStartTime`
         
     | 
| 
      
 620 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 621 
     | 
    
         
            +
                    attr_accessor :rollout_start_time
         
     | 
| 
      
 622 
     | 
    
         
            +
                  
         
     | 
| 
      
 623 
     | 
    
         
            +
                    # State of the rollout
         
     | 
| 
      
 624 
     | 
    
         
            +
                    # Corresponds to the JSON property `rolloutState`
         
     | 
| 
      
 625 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 626 
     | 
    
         
            +
                    attr_accessor :rollout_state
         
     | 
| 
      
 627 
     | 
    
         
            +
                  
         
     | 
| 
      
 628 
     | 
    
         
            +
                    # Rollout update time
         
     | 
| 
      
 629 
     | 
    
         
            +
                    # Corresponds to the JSON property `rolloutUpdateTime`
         
     | 
| 
      
 630 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 631 
     | 
    
         
            +
                    attr_accessor :rollout_update_time
         
     | 
| 
      
 632 
     | 
    
         
            +
                  
         
     | 
| 
      
 633 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 634 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 635 
     | 
    
         
            +
                    end
         
     | 
| 
      
 636 
     | 
    
         
            +
                  
         
     | 
| 
      
 637 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 638 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 639 
     | 
    
         
            +
                      @api_method = args[:api_method] if args.key?(:api_method)
         
     | 
| 
      
 640 
     | 
    
         
            +
                      @os_policy_assignment = args[:os_policy_assignment] if args.key?(:os_policy_assignment)
         
     | 
| 
      
 641 
     | 
    
         
            +
                      @rollout_start_time = args[:rollout_start_time] if args.key?(:rollout_start_time)
         
     | 
| 
      
 642 
     | 
    
         
            +
                      @rollout_state = args[:rollout_state] if args.key?(:rollout_state)
         
     | 
| 
      
 643 
     | 
    
         
            +
                      @rollout_update_time = args[:rollout_update_time] if args.key?(:rollout_update_time)
         
     | 
| 
      
 644 
     | 
    
         
            +
                    end
         
     | 
| 
      
 645 
     | 
    
         
            +
                  end
         
     | 
| 
      
 646 
     | 
    
         
            +
                  
         
     | 
| 
       601 
647 
     | 
    
         
             
                  # An OS Config resource representing a guest configuration policy. These
         
     | 
| 
       602 
648 
     | 
    
         
             
                  # policies represent the desired state for VM instance guest environments
         
     | 
| 
       603 
649 
     | 
    
         
             
                  # including packages to install or remove, package repository configurations,
         
     | 
| 
         @@ -1132,6 +1178,11 @@ module Google 
     | 
|
| 
       1132 
1178 
     | 
    
         
             
                    # @return [Google::Apis::OsconfigV1beta::PatchRollout]
         
     | 
| 
       1133 
1179 
     | 
    
         
             
                    attr_accessor :rollout
         
     | 
| 
       1134 
1180 
     | 
    
         | 
| 
      
 1181 
     | 
    
         
            +
                    # Output only. Current state of the patch deployment.
         
     | 
| 
      
 1182 
     | 
    
         
            +
                    # Corresponds to the JSON property `state`
         
     | 
| 
      
 1183 
     | 
    
         
            +
                    # @return [String]
         
     | 
| 
      
 1184 
     | 
    
         
            +
                    attr_accessor :state
         
     | 
| 
      
 1185 
     | 
    
         
            +
                  
         
     | 
| 
       1135 
1186 
     | 
    
         
             
                    # Output only. Time the patch deployment was last updated. Timestamp is in [
         
     | 
| 
       1136 
1187 
     | 
    
         
             
                    # RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format.
         
     | 
| 
       1137 
1188 
     | 
    
         
             
                    # Corresponds to the JSON property `updateTime`
         
     | 
| 
         @@ -1154,6 +1205,7 @@ module Google 
     | 
|
| 
       1154 
1205 
     | 
    
         
             
                      @patch_config = args[:patch_config] if args.key?(:patch_config)
         
     | 
| 
       1155 
1206 
     | 
    
         
             
                      @recurring_schedule = args[:recurring_schedule] if args.key?(:recurring_schedule)
         
     | 
| 
       1156 
1207 
     | 
    
         
             
                      @rollout = args[:rollout] if args.key?(:rollout)
         
     | 
| 
      
 1208 
     | 
    
         
            +
                      @state = args[:state] if args.key?(:state)
         
     | 
| 
       1157 
1209 
     | 
    
         
             
                      @update_time = args[:update_time] if args.key?(:update_time)
         
     | 
| 
       1158 
1210 
     | 
    
         
             
                    end
         
     | 
| 
       1159 
1211 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -1534,6 +1586,19 @@ module Google 
     | 
|
| 
       1534 
1586 
     | 
    
         
             
                    end
         
     | 
| 
       1535 
1587 
     | 
    
         
             
                  end
         
     | 
| 
       1536 
1588 
     | 
    
         | 
| 
      
 1589 
     | 
    
         
            +
                  # A request message for pausing a patch deployment.
         
     | 
| 
      
 1590 
     | 
    
         
            +
                  class PausePatchDeploymentRequest
         
     | 
| 
      
 1591 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 1592 
     | 
    
         
            +
                  
         
     | 
| 
      
 1593 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 1594 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 1595 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1596 
     | 
    
         
            +
                  
         
     | 
| 
      
 1597 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 1598 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 1599 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1600 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1601 
     | 
    
         
            +
                  
         
     | 
| 
       1537 
1602 
     | 
    
         
             
                  # Sets the time for recurring patch deployments.
         
     | 
| 
       1538 
1603 
     | 
    
         
             
                  class RecurringSchedule
         
     | 
| 
       1539 
1604 
     | 
    
         
             
                    include Google::Apis::Core::Hashable
         
     | 
| 
         @@ -1607,6 +1672,19 @@ module Google 
     | 
|
| 
       1607 
1672 
     | 
    
         
             
                    end
         
     | 
| 
       1608 
1673 
     | 
    
         
             
                  end
         
     | 
| 
       1609 
1674 
     | 
    
         | 
| 
      
 1675 
     | 
    
         
            +
                  # A request message for resuming a patch deployment.
         
     | 
| 
      
 1676 
     | 
    
         
            +
                  class ResumePatchDeploymentRequest
         
     | 
| 
      
 1677 
     | 
    
         
            +
                    include Google::Apis::Core::Hashable
         
     | 
| 
      
 1678 
     | 
    
         
            +
                  
         
     | 
| 
      
 1679 
     | 
    
         
            +
                    def initialize(**args)
         
     | 
| 
      
 1680 
     | 
    
         
            +
                       update!(**args)
         
     | 
| 
      
 1681 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1682 
     | 
    
         
            +
                  
         
     | 
| 
      
 1683 
     | 
    
         
            +
                    # Update properties of this object
         
     | 
| 
      
 1684 
     | 
    
         
            +
                    def update!(**args)
         
     | 
| 
      
 1685 
     | 
    
         
            +
                    end
         
     | 
| 
      
 1686 
     | 
    
         
            +
                  end
         
     | 
| 
      
 1687 
     | 
    
         
            +
                  
         
     | 
| 
       1610 
1688 
     | 
    
         
             
                  # A software recipe is a set of instructions for installing and configuring a
         
     | 
| 
       1611 
1689 
     | 
    
         
             
                  # piece of software. It consists of a set of artifacts that are downloaded, and
         
     | 
| 
       1612 
1690 
     | 
    
         
             
                  # a set of steps that install, configure, and/or update the software. Recipes
         
     | 
| 
         @@ -2143,6 +2221,17 @@ module Google 
     | 
|
| 
       2143 
2221 
     | 
    
         
             
                    # @return [String]
         
     | 
| 
       2144 
2222 
     | 
    
         
             
                    attr_accessor :day_of_week
         
     | 
| 
       2145 
2223 
     | 
    
         | 
| 
      
 2224 
     | 
    
         
            +
                    # Optional. Represents the number of days before or after the given week day of
         
     | 
| 
      
 2225 
     | 
    
         
            +
                    # month that the patch deployment is scheduled for. For example if `week_ordinal`
         
     | 
| 
      
 2226 
     | 
    
         
            +
                    # and `day_of_week` values point to the second day of the month and this `
         
     | 
| 
      
 2227 
     | 
    
         
            +
                    # day_offset` value is set to `3`, the patch deployment takes place three days
         
     | 
| 
      
 2228 
     | 
    
         
            +
                    # after the second Tuesday of the month. If this value is negative, for example -
         
     | 
| 
      
 2229 
     | 
    
         
            +
                    # 5, the patches are deployed five days before before the second Tuesday of the
         
     | 
| 
      
 2230 
     | 
    
         
            +
                    # month. Allowed values are in range [-30, 30].
         
     | 
| 
      
 2231 
     | 
    
         
            +
                    # Corresponds to the JSON property `dayOffset`
         
     | 
| 
      
 2232 
     | 
    
         
            +
                    # @return [Fixnum]
         
     | 
| 
      
 2233 
     | 
    
         
            +
                    attr_accessor :day_offset
         
     | 
| 
      
 2234 
     | 
    
         
            +
                  
         
     | 
| 
       2146 
2235 
     | 
    
         
             
                    # Required. Week number in a month. 1-4 indicates the 1st to 4th week of the
         
     | 
| 
       2147 
2236 
     | 
    
         
             
                    # month. -1 indicates the last week of the month.
         
     | 
| 
       2148 
2237 
     | 
    
         
             
                    # Corresponds to the JSON property `weekOrdinal`
         
     | 
| 
         @@ -2156,6 +2245,7 @@ module Google 
     | 
|
| 
       2156 
2245 
     | 
    
         
             
                    # Update properties of this object
         
     | 
| 
       2157 
2246 
     | 
    
         
             
                    def update!(**args)
         
     | 
| 
       2158 
2247 
     | 
    
         
             
                      @day_of_week = args[:day_of_week] if args.key?(:day_of_week)
         
     | 
| 
      
 2248 
     | 
    
         
            +
                      @day_offset = args[:day_offset] if args.key?(:day_offset)
         
     | 
| 
       2159 
2249 
     | 
    
         
             
                      @week_ordinal = args[:week_ordinal] if args.key?(:week_ordinal)
         
     | 
| 
       2160 
2250 
     | 
    
         
             
                    end
         
     | 
| 
       2161 
2251 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -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.13.0"
         
     | 
| 
       20 
20 
     | 
    
         | 
| 
       21 
21 
     | 
    
         
             
                  # Version of the code generator used to generate this client
         
     | 
| 
       22 
22 
     | 
    
         
             
                  GENERATOR_VERSION = "0.4.0"
         
     | 
| 
       23 
23 
     | 
    
         | 
| 
       24 
24 
     | 
    
         
             
                  # Revision of the discovery document this client was generated from
         
     | 
| 
       25 
     | 
    
         
            -
                  REVISION = " 
     | 
| 
      
 25 
     | 
    
         
            +
                  REVISION = "20211203"
         
     | 
| 
       26 
26 
     | 
    
         
             
                end
         
     | 
| 
       27 
27 
     | 
    
         
             
              end
         
     | 
| 
       28 
28 
     | 
    
         
             
            end
         
     | 
| 
         @@ -130,6 +130,12 @@ module Google 
     | 
|
| 
       130 
130 
     | 
    
         
             
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
       131 
131 
     | 
    
         
             
                  end
         
     | 
| 
       132 
132 
     | 
    
         | 
| 
      
 133 
     | 
    
         
            +
                  class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
         
     | 
| 
      
 134 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
      
 135 
     | 
    
         
            +
                  
         
     | 
| 
      
 136 
     | 
    
         
            +
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
      
 137 
     | 
    
         
            +
                  end
         
     | 
| 
      
 138 
     | 
    
         
            +
                  
         
     | 
| 
       133 
139 
     | 
    
         
             
                  class GuestPolicy
         
     | 
| 
       134 
140 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
       135 
141 
     | 
    
         | 
| 
         @@ -244,12 +250,24 @@ module Google 
     | 
|
| 
       244 
250 
     | 
    
         
             
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
       245 
251 
     | 
    
         
             
                  end
         
     | 
| 
       246 
252 
     | 
    
         | 
| 
      
 253 
     | 
    
         
            +
                  class PausePatchDeploymentRequest
         
     | 
| 
      
 254 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
      
 255 
     | 
    
         
            +
                  
         
     | 
| 
      
 256 
     | 
    
         
            +
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
      
 257 
     | 
    
         
            +
                  end
         
     | 
| 
      
 258 
     | 
    
         
            +
                  
         
     | 
| 
       247 
259 
     | 
    
         
             
                  class RecurringSchedule
         
     | 
| 
       248 
260 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
       249 
261 
     | 
    
         | 
| 
       250 
262 
     | 
    
         
             
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
       251 
263 
     | 
    
         
             
                  end
         
     | 
| 
       252 
264 
     | 
    
         | 
| 
      
 265 
     | 
    
         
            +
                  class ResumePatchDeploymentRequest
         
     | 
| 
      
 266 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
      
 267 
     | 
    
         
            +
                  
         
     | 
| 
      
 268 
     | 
    
         
            +
                    include Google::Apis::Core::JsonObjectSupport
         
     | 
| 
      
 269 
     | 
    
         
            +
                  end
         
     | 
| 
      
 270 
     | 
    
         
            +
                  
         
     | 
| 
       253 
271 
     | 
    
         
             
                  class SoftwareRecipe
         
     | 
| 
       254 
272 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation; end
         
     | 
| 
       255 
273 
     | 
    
         | 
| 
         @@ -544,6 +562,17 @@ module Google 
     | 
|
| 
       544 
562 
     | 
    
         
             
                    end
         
     | 
| 
       545 
563 
     | 
    
         
             
                  end
         
     | 
| 
       546 
564 
     | 
    
         | 
| 
      
 565 
     | 
    
         
            +
                  class GoogleCloudOsconfigV1OsPolicyAssignmentOperationMetadata
         
     | 
| 
      
 566 
     | 
    
         
            +
                    # @private
         
     | 
| 
      
 567 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 568 
     | 
    
         
            +
                      property :api_method, as: 'apiMethod'
         
     | 
| 
      
 569 
     | 
    
         
            +
                      property :os_policy_assignment, as: 'osPolicyAssignment'
         
     | 
| 
      
 570 
     | 
    
         
            +
                      property :rollout_start_time, as: 'rolloutStartTime'
         
     | 
| 
      
 571 
     | 
    
         
            +
                      property :rollout_state, as: 'rolloutState'
         
     | 
| 
      
 572 
     | 
    
         
            +
                      property :rollout_update_time, as: 'rolloutUpdateTime'
         
     | 
| 
      
 573 
     | 
    
         
            +
                    end
         
     | 
| 
      
 574 
     | 
    
         
            +
                  end
         
     | 
| 
      
 575 
     | 
    
         
            +
                  
         
     | 
| 
       547 
576 
     | 
    
         
             
                  class GuestPolicy
         
     | 
| 
       548 
577 
     | 
    
         
             
                    # @private
         
     | 
| 
       549 
578 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
         @@ -697,6 +726,7 @@ module Google 
     | 
|
| 
       697 
726 
     | 
    
         | 
| 
       698 
727 
     | 
    
         
             
                      property :rollout, as: 'rollout', class: Google::Apis::OsconfigV1beta::PatchRollout, decorator: Google::Apis::OsconfigV1beta::PatchRollout::Representation
         
     | 
| 
       699 
728 
     | 
    
         | 
| 
      
 729 
     | 
    
         
            +
                      property :state, as: 'state'
         
     | 
| 
       700 
730 
     | 
    
         
             
                      property :update_time, as: 'updateTime'
         
     | 
| 
       701 
731 
     | 
    
         
             
                    end
         
     | 
| 
       702 
732 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -786,6 +816,12 @@ module Google 
     | 
|
| 
       786 
816 
     | 
    
         
             
                    end
         
     | 
| 
       787 
817 
     | 
    
         
             
                  end
         
     | 
| 
       788 
818 
     | 
    
         | 
| 
      
 819 
     | 
    
         
            +
                  class PausePatchDeploymentRequest
         
     | 
| 
      
 820 
     | 
    
         
            +
                    # @private
         
     | 
| 
      
 821 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 822 
     | 
    
         
            +
                    end
         
     | 
| 
      
 823 
     | 
    
         
            +
                  end
         
     | 
| 
      
 824 
     | 
    
         
            +
                  
         
     | 
| 
       789 
825 
     | 
    
         
             
                  class RecurringSchedule
         
     | 
| 
       790 
826 
     | 
    
         
             
                    # @private
         
     | 
| 
       791 
827 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
         @@ -805,6 +841,12 @@ module Google 
     | 
|
| 
       805 
841 
     | 
    
         
             
                    end
         
     | 
| 
       806 
842 
     | 
    
         
             
                  end
         
     | 
| 
       807 
843 
     | 
    
         | 
| 
      
 844 
     | 
    
         
            +
                  class ResumePatchDeploymentRequest
         
     | 
| 
      
 845 
     | 
    
         
            +
                    # @private
         
     | 
| 
      
 846 
     | 
    
         
            +
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
      
 847 
     | 
    
         
            +
                    end
         
     | 
| 
      
 848 
     | 
    
         
            +
                  end
         
     | 
| 
      
 849 
     | 
    
         
            +
                  
         
     | 
| 
       808 
850 
     | 
    
         
             
                  class SoftwareRecipe
         
     | 
| 
       809 
851 
     | 
    
         
             
                    # @private
         
     | 
| 
       810 
852 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
         @@ -952,6 +994,7 @@ module Google 
     | 
|
| 
       952 
994 
     | 
    
         
             
                    # @private
         
     | 
| 
       953 
995 
     | 
    
         
             
                    class Representation < Google::Apis::Core::JsonRepresentation
         
     | 
| 
       954 
996 
     | 
    
         
             
                      property :day_of_week, as: 'dayOfWeek'
         
     | 
| 
      
 997 
     | 
    
         
            +
                      property :day_offset, as: 'dayOffset'
         
     | 
| 
       955 
998 
     | 
    
         
             
                      property :week_ordinal, as: 'weekOrdinal'
         
     | 
| 
       956 
999 
     | 
    
         
             
                    end
         
     | 
| 
       957 
1000 
     | 
    
         
             
                  end
         
     | 
| 
         @@ -366,6 +366,116 @@ module Google 
     | 
|
| 
       366 
366 
     | 
    
         
             
                      execute_or_queue_command(command, &block)
         
     | 
| 
       367 
367 
     | 
    
         
             
                    end
         
     | 
| 
       368 
368 
     | 
    
         | 
| 
      
 369 
     | 
    
         
            +
                    # Update an OS Config patch deployment.
         
     | 
| 
      
 370 
     | 
    
         
            +
                    # @param [String] name
         
     | 
| 
      
 371 
     | 
    
         
            +
                    #   Unique name for the patch deployment resource in a project. The patch
         
     | 
| 
      
 372 
     | 
    
         
            +
                    #   deployment name is in the form: `projects/`project_id`/patchDeployments/`
         
     | 
| 
      
 373 
     | 
    
         
            +
                    #   patch_deployment_id``. This field is ignored when you create a new patch
         
     | 
| 
      
 374 
     | 
    
         
            +
                    #   deployment.
         
     | 
| 
      
 375 
     | 
    
         
            +
                    # @param [Google::Apis::OsconfigV1beta::PatchDeployment] patch_deployment_object
         
     | 
| 
      
 376 
     | 
    
         
            +
                    # @param [String] update_mask
         
     | 
| 
      
 377 
     | 
    
         
            +
                    #   Optional. Field mask that controls which fields of the patch deployment should
         
     | 
| 
      
 378 
     | 
    
         
            +
                    #   be updated.
         
     | 
| 
      
 379 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 380 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 381 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 382 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 383 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 384 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 385 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 386 
     | 
    
         
            +
                    #
         
     | 
| 
      
 387 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 388 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::OsconfigV1beta::PatchDeployment] parsed result object
         
     | 
| 
      
 389 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 390 
     | 
    
         
            +
                    #
         
     | 
| 
      
 391 
     | 
    
         
            +
                    # @return [Google::Apis::OsconfigV1beta::PatchDeployment]
         
     | 
| 
      
 392 
     | 
    
         
            +
                    #
         
     | 
| 
      
 393 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 394 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 395 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 396 
     | 
    
         
            +
                    def patch_project_patch_deployment(name, patch_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 397 
     | 
    
         
            +
                      command = make_simple_command(:patch, 'v1beta/{+name}', options)
         
     | 
| 
      
 398 
     | 
    
         
            +
                      command.request_representation = Google::Apis::OsconfigV1beta::PatchDeployment::Representation
         
     | 
| 
      
 399 
     | 
    
         
            +
                      command.request_object = patch_deployment_object
         
     | 
| 
      
 400 
     | 
    
         
            +
                      command.response_representation = Google::Apis::OsconfigV1beta::PatchDeployment::Representation
         
     | 
| 
      
 401 
     | 
    
         
            +
                      command.response_class = Google::Apis::OsconfigV1beta::PatchDeployment
         
     | 
| 
      
 402 
     | 
    
         
            +
                      command.params['name'] = name unless name.nil?
         
     | 
| 
      
 403 
     | 
    
         
            +
                      command.query['updateMask'] = update_mask unless update_mask.nil?
         
     | 
| 
      
 404 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 405 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 406 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 407 
     | 
    
         
            +
                    end
         
     | 
| 
      
 408 
     | 
    
         
            +
                    
         
     | 
| 
      
 409 
     | 
    
         
            +
                    # Change state of patch deployment to "PAUSED". Patch deployment in paused state
         
     | 
| 
      
 410 
     | 
    
         
            +
                    # doesn't generate patch jobs.
         
     | 
| 
      
 411 
     | 
    
         
            +
                    # @param [String] name
         
     | 
| 
      
 412 
     | 
    
         
            +
                    #   Required. The resource name of the patch deployment in the form `projects/*/
         
     | 
| 
      
 413 
     | 
    
         
            +
                    #   patchDeployments/*`.
         
     | 
| 
      
 414 
     | 
    
         
            +
                    # @param [Google::Apis::OsconfigV1beta::PausePatchDeploymentRequest] pause_patch_deployment_request_object
         
     | 
| 
      
 415 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 416 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 417 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 418 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 419 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 420 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 421 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 422 
     | 
    
         
            +
                    #
         
     | 
| 
      
 423 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 424 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::OsconfigV1beta::PatchDeployment] parsed result object
         
     | 
| 
      
 425 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 426 
     | 
    
         
            +
                    #
         
     | 
| 
      
 427 
     | 
    
         
            +
                    # @return [Google::Apis::OsconfigV1beta::PatchDeployment]
         
     | 
| 
      
 428 
     | 
    
         
            +
                    #
         
     | 
| 
      
 429 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 430 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 431 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 432 
     | 
    
         
            +
                    def pause_patch_deployment(name, pause_patch_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 433 
     | 
    
         
            +
                      command = make_simple_command(:post, 'v1beta/{+name}:pause', options)
         
     | 
| 
      
 434 
     | 
    
         
            +
                      command.request_representation = Google::Apis::OsconfigV1beta::PausePatchDeploymentRequest::Representation
         
     | 
| 
      
 435 
     | 
    
         
            +
                      command.request_object = pause_patch_deployment_request_object
         
     | 
| 
      
 436 
     | 
    
         
            +
                      command.response_representation = Google::Apis::OsconfigV1beta::PatchDeployment::Representation
         
     | 
| 
      
 437 
     | 
    
         
            +
                      command.response_class = Google::Apis::OsconfigV1beta::PatchDeployment
         
     | 
| 
      
 438 
     | 
    
         
            +
                      command.params['name'] = name unless name.nil?
         
     | 
| 
      
 439 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 440 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 441 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 442 
     | 
    
         
            +
                    end
         
     | 
| 
      
 443 
     | 
    
         
            +
                    
         
     | 
| 
      
 444 
     | 
    
         
            +
                    # Change state of patch deployment back to "ACTIVE". Patch deployment in active
         
     | 
| 
      
 445 
     | 
    
         
            +
                    # state continues to generate patch jobs.
         
     | 
| 
      
 446 
     | 
    
         
            +
                    # @param [String] name
         
     | 
| 
      
 447 
     | 
    
         
            +
                    #   Required. The resource name of the patch deployment in the form `projects/*/
         
     | 
| 
      
 448 
     | 
    
         
            +
                    #   patchDeployments/*`.
         
     | 
| 
      
 449 
     | 
    
         
            +
                    # @param [Google::Apis::OsconfigV1beta::ResumePatchDeploymentRequest] resume_patch_deployment_request_object
         
     | 
| 
      
 450 
     | 
    
         
            +
                    # @param [String] fields
         
     | 
| 
      
 451 
     | 
    
         
            +
                    #   Selector specifying which fields to include in a partial response.
         
     | 
| 
      
 452 
     | 
    
         
            +
                    # @param [String] quota_user
         
     | 
| 
      
 453 
     | 
    
         
            +
                    #   Available to use for quota purposes for server-side applications. Can be any
         
     | 
| 
      
 454 
     | 
    
         
            +
                    #   arbitrary string assigned to a user, but should not exceed 40 characters.
         
     | 
| 
      
 455 
     | 
    
         
            +
                    # @param [Google::Apis::RequestOptions] options
         
     | 
| 
      
 456 
     | 
    
         
            +
                    #   Request-specific options
         
     | 
| 
      
 457 
     | 
    
         
            +
                    #
         
     | 
| 
      
 458 
     | 
    
         
            +
                    # @yield [result, err] Result & error if block supplied
         
     | 
| 
      
 459 
     | 
    
         
            +
                    # @yieldparam result [Google::Apis::OsconfigV1beta::PatchDeployment] parsed result object
         
     | 
| 
      
 460 
     | 
    
         
            +
                    # @yieldparam err [StandardError] error object if request failed
         
     | 
| 
      
 461 
     | 
    
         
            +
                    #
         
     | 
| 
      
 462 
     | 
    
         
            +
                    # @return [Google::Apis::OsconfigV1beta::PatchDeployment]
         
     | 
| 
      
 463 
     | 
    
         
            +
                    #
         
     | 
| 
      
 464 
     | 
    
         
            +
                    # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
         
     | 
| 
      
 465 
     | 
    
         
            +
                    # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
         
     | 
| 
      
 466 
     | 
    
         
            +
                    # @raise [Google::Apis::AuthorizationError] Authorization is required
         
     | 
| 
      
 467 
     | 
    
         
            +
                    def resume_patch_deployment(name, resume_patch_deployment_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
         
     | 
| 
      
 468 
     | 
    
         
            +
                      command = make_simple_command(:post, 'v1beta/{+name}:resume', options)
         
     | 
| 
      
 469 
     | 
    
         
            +
                      command.request_representation = Google::Apis::OsconfigV1beta::ResumePatchDeploymentRequest::Representation
         
     | 
| 
      
 470 
     | 
    
         
            +
                      command.request_object = resume_patch_deployment_request_object
         
     | 
| 
      
 471 
     | 
    
         
            +
                      command.response_representation = Google::Apis::OsconfigV1beta::PatchDeployment::Representation
         
     | 
| 
      
 472 
     | 
    
         
            +
                      command.response_class = Google::Apis::OsconfigV1beta::PatchDeployment
         
     | 
| 
      
 473 
     | 
    
         
            +
                      command.params['name'] = name unless name.nil?
         
     | 
| 
      
 474 
     | 
    
         
            +
                      command.query['fields'] = fields unless fields.nil?
         
     | 
| 
      
 475 
     | 
    
         
            +
                      command.query['quotaUser'] = quota_user unless quota_user.nil?
         
     | 
| 
      
 476 
     | 
    
         
            +
                      execute_or_queue_command(command, &block)
         
     | 
| 
      
 477 
     | 
    
         
            +
                    end
         
     | 
| 
      
 478 
     | 
    
         
            +
                    
         
     | 
| 
       369 
479 
     | 
    
         
             
                    # Cancel a patch job. The patch job must be active. Canceled patch jobs cannot
         
     | 
| 
       370 
480 
     | 
    
         
             
                    # be restarted.
         
     | 
| 
       371 
481 
     | 
    
         
             
                    # @param [String] name
         
     | 
    
        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.13.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-12-13 00:00:00.000000000 Z
         
     | 
| 
       12 
12 
     | 
    
         
             
            dependencies:
         
     | 
| 
       13 
13 
     | 
    
         
             
            - !ruby/object:Gem::Dependency
         
     | 
| 
       14 
14 
     | 
    
         
             
              name: google-apis-core
         
     | 
| 
         @@ -57,9 +57,9 @@ licenses: 
     | 
|
| 
       57 
57 
     | 
    
         
             
            - Apache-2.0
         
     | 
| 
       58 
58 
     | 
    
         
             
            metadata:
         
     | 
| 
       59 
59 
     | 
    
         
             
              bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
         
     | 
| 
       60 
     | 
    
         
            -
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/ 
     | 
| 
       61 
     | 
    
         
            -
              documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1beta/v0. 
     | 
| 
       62 
     | 
    
         
            -
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/ 
     | 
| 
      
 60 
     | 
    
         
            +
              changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1beta/CHANGELOG.md
         
     | 
| 
      
 61 
     | 
    
         
            +
              documentation_uri: https://googleapis.dev/ruby/google-apis-osconfig_v1beta/v0.13.0
         
     | 
| 
      
 62 
     | 
    
         
            +
              source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-osconfig_v1beta
         
     | 
| 
       63 
63 
     | 
    
         
             
            post_install_message: 
         
     | 
| 
       64 
64 
     | 
    
         
             
            rdoc_options: []
         
     | 
| 
       65 
65 
     | 
    
         
             
            require_paths:
         
     |