google-cloud-os_config-v1 0.11.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/AUTHENTICATION.md +1 -1
 - data/README.md +3 -3
 - data/lib/google/cloud/os_config/v1/os_config_service/client.rb +18 -22
 - data/lib/google/cloud/os_config/v1/os_config_service/rest/client.rb +1183 -0
 - data/lib/google/cloud/os_config/v1/os_config_service/rest/service_stub.rb +762 -0
 - data/lib/google/cloud/os_config/v1/os_config_service/rest.rb +55 -0
 - data/lib/google/cloud/os_config/v1/os_config_service.rb +7 -1
 - data/lib/google/cloud/os_config/v1/os_config_zonal_service/client.rb +38 -46
 - data/lib/google/cloud/os_config/v1/os_config_zonal_service/operations.rb +17 -17
 - data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest/client.rb +1284 -0
 - data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest/operations.rb +795 -0
 - data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest/service_stub.rb +758 -0
 - data/lib/google/cloud/os_config/v1/os_config_zonal_service/rest.rb +56 -0
 - data/lib/google/cloud/os_config/v1/os_config_zonal_service.rb +7 -1
 - data/lib/google/cloud/os_config/v1/rest.rb +38 -0
 - data/lib/google/cloud/os_config/v1/version.rb +1 -1
 - data/lib/google/cloud/os_config/v1.rb +7 -2
 - data/lib/google/cloud/osconfig/v1/inventory_pb.rb +26 -109
 - data/lib/google/cloud/osconfig/v1/os_policy_assignment_reports_pb.rb +25 -61
 - data/lib/google/cloud/osconfig/v1/os_policy_assignments_pb.rb +29 -93
 - data/lib/google/cloud/osconfig/v1/os_policy_pb.rb +24 -158
 - data/lib/google/cloud/osconfig/v1/osconfig_common_pb.rb +24 -7
 - data/lib/google/cloud/osconfig/v1/osconfig_service_pb.rb +25 -2
 - data/lib/google/cloud/osconfig/v1/osconfig_zonal_service_pb.rb +25 -2
 - data/lib/google/cloud/osconfig/v1/patch_deployments_pb.rb +30 -88
 - data/lib/google/cloud/osconfig/v1/patch_jobs_pb.rb +27 -209
 - data/lib/google/cloud/osconfig/v1/vulnerability_pb.rb +25 -92
 - data/proto_docs/google/api/client.rb +381 -0
 - data/proto_docs/google/api/launch_stage.rb +71 -0
 - data/proto_docs/google/protobuf/any.rb +7 -4
 - data/proto_docs/google/protobuf/empty.rb +0 -2
 - data/proto_docs/google/protobuf/timestamp.rb +1 -3
 - data/proto_docs/google/rpc/status.rb +4 -2
 - metadata +19 -8
 
| 
         @@ -1,3 +1,4 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
       1 
2 
     | 
    
         
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         
     | 
| 
       2 
3 
     | 
    
         
             
            # source: google/cloud/osconfig/v1/os_policy.proto
         
     | 
| 
       3 
4 
     | 
    
         | 
| 
         @@ -5,166 +6,31 @@ require 'google/protobuf' 
     | 
|
| 
       5 
6 
     | 
    
         | 
| 
       6 
7 
     | 
    
         
             
            require 'google/api/field_behavior_pb'
         
     | 
| 
       7 
8 
     | 
    
         | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
                   
     | 
| 
       29 
     | 
    
         
            -
                end
         
     | 
| 
       30 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.File" do
         
     | 
| 
       31 
     | 
    
         
            -
                  optional :allow_insecure, :bool, 4
         
     | 
| 
       32 
     | 
    
         
            -
                  oneof :type do
         
     | 
| 
       33 
     | 
    
         
            -
                    optional :remote, :message, 1, "google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote"
         
     | 
| 
       34 
     | 
    
         
            -
                    optional :gcs, :message, 2, "google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs"
         
     | 
| 
       35 
     | 
    
         
            -
                    optional :local_path, :string, 3
         
     | 
| 
       36 
     | 
    
         
            -
                  end
         
     | 
| 
       37 
     | 
    
         
            -
                end
         
     | 
| 
       38 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.File.Remote" do
         
     | 
| 
       39 
     | 
    
         
            -
                  optional :uri, :string, 1
         
     | 
| 
       40 
     | 
    
         
            -
                  optional :sha256_checksum, :string, 2
         
     | 
| 
       41 
     | 
    
         
            -
                end
         
     | 
| 
       42 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.File.Gcs" do
         
     | 
| 
       43 
     | 
    
         
            -
                  optional :bucket, :string, 1
         
     | 
| 
       44 
     | 
    
         
            -
                  optional :object, :string, 2
         
     | 
| 
       45 
     | 
    
         
            -
                  optional :generation, :int64, 3
         
     | 
| 
       46 
     | 
    
         
            -
                end
         
     | 
| 
       47 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource" do
         
     | 
| 
       48 
     | 
    
         
            -
                  optional :desired_state, :enum, 1, "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState"
         
     | 
| 
       49 
     | 
    
         
            -
                  oneof :system_package do
         
     | 
| 
       50 
     | 
    
         
            -
                    optional :apt, :message, 2, "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT"
         
     | 
| 
       51 
     | 
    
         
            -
                    optional :deb, :message, 3, "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb"
         
     | 
| 
       52 
     | 
    
         
            -
                    optional :yum, :message, 4, "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM"
         
     | 
| 
       53 
     | 
    
         
            -
                    optional :zypper, :message, 5, "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper"
         
     | 
| 
       54 
     | 
    
         
            -
                    optional :rpm, :message, 6, "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM"
         
     | 
| 
       55 
     | 
    
         
            -
                    optional :googet, :message, 7, "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet"
         
     | 
| 
       56 
     | 
    
         
            -
                    optional :msi, :message, 8, "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI"
         
     | 
| 
       57 
     | 
    
         
            -
                  end
         
     | 
| 
       58 
     | 
    
         
            -
                end
         
     | 
| 
       59 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Deb" do
         
     | 
| 
       60 
     | 
    
         
            -
                  optional :source, :message, 1, "google.cloud.osconfig.v1.OSPolicy.Resource.File"
         
     | 
| 
       61 
     | 
    
         
            -
                  optional :pull_deps, :bool, 2
         
     | 
| 
       62 
     | 
    
         
            -
                end
         
     | 
| 
       63 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APT" do
         
     | 
| 
       64 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       65 
     | 
    
         
            -
                end
         
     | 
| 
       66 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPM" do
         
     | 
| 
       67 
     | 
    
         
            -
                  optional :source, :message, 1, "google.cloud.osconfig.v1.OSPolicy.Resource.File"
         
     | 
| 
       68 
     | 
    
         
            -
                  optional :pull_deps, :bool, 2
         
     | 
| 
       69 
     | 
    
         
            -
                end
         
     | 
| 
       70 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUM" do
         
     | 
| 
       71 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       72 
     | 
    
         
            -
                end
         
     | 
| 
       73 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.Zypper" do
         
     | 
| 
       74 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       75 
     | 
    
         
            -
                end
         
     | 
| 
       76 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGet" do
         
     | 
| 
       77 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       78 
     | 
    
         
            -
                end
         
     | 
| 
       79 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSI" do
         
     | 
| 
       80 
     | 
    
         
            -
                  optional :source, :message, 1, "google.cloud.osconfig.v1.OSPolicy.Resource.File"
         
     | 
| 
       81 
     | 
    
         
            -
                  repeated :properties, :string, 2
         
     | 
| 
       82 
     | 
    
         
            -
                end
         
     | 
| 
       83 
     | 
    
         
            -
                add_enum "google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredState" do
         
     | 
| 
       84 
     | 
    
         
            -
                  value :DESIRED_STATE_UNSPECIFIED, 0
         
     | 
| 
       85 
     | 
    
         
            -
                  value :INSTALLED, 1
         
     | 
| 
       86 
     | 
    
         
            -
                  value :REMOVED, 2
         
     | 
| 
       87 
     | 
    
         
            -
                end
         
     | 
| 
       88 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource" do
         
     | 
| 
       89 
     | 
    
         
            -
                  oneof :repository do
         
     | 
| 
       90 
     | 
    
         
            -
                    optional :apt, :message, 1, "google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository"
         
     | 
| 
       91 
     | 
    
         
            -
                    optional :yum, :message, 2, "google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository"
         
     | 
| 
       92 
     | 
    
         
            -
                    optional :zypper, :message, 3, "google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository"
         
     | 
| 
       93 
     | 
    
         
            -
                    optional :goo, :message, 4, "google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository"
         
     | 
| 
       94 
     | 
    
         
            -
                  end
         
     | 
| 
       95 
     | 
    
         
            -
                end
         
     | 
| 
       96 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository" do
         
     | 
| 
       97 
     | 
    
         
            -
                  optional :archive_type, :enum, 1, "google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType"
         
     | 
| 
       98 
     | 
    
         
            -
                  optional :uri, :string, 2
         
     | 
| 
       99 
     | 
    
         
            -
                  optional :distribution, :string, 3
         
     | 
| 
       100 
     | 
    
         
            -
                  repeated :components, :string, 4
         
     | 
| 
       101 
     | 
    
         
            -
                  optional :gpg_key, :string, 5
         
     | 
| 
       102 
     | 
    
         
            -
                end
         
     | 
| 
       103 
     | 
    
         
            -
                add_enum "google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveType" do
         
     | 
| 
       104 
     | 
    
         
            -
                  value :ARCHIVE_TYPE_UNSPECIFIED, 0
         
     | 
| 
       105 
     | 
    
         
            -
                  value :DEB, 1
         
     | 
| 
       106 
     | 
    
         
            -
                  value :DEB_SRC, 2
         
     | 
| 
       107 
     | 
    
         
            -
                end
         
     | 
| 
       108 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepository" do
         
     | 
| 
       109 
     | 
    
         
            -
                  optional :id, :string, 1
         
     | 
| 
       110 
     | 
    
         
            -
                  optional :display_name, :string, 2
         
     | 
| 
       111 
     | 
    
         
            -
                  optional :base_url, :string, 3
         
     | 
| 
       112 
     | 
    
         
            -
                  repeated :gpg_keys, :string, 4
         
     | 
| 
       113 
     | 
    
         
            -
                end
         
     | 
| 
       114 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepository" do
         
     | 
| 
       115 
     | 
    
         
            -
                  optional :id, :string, 1
         
     | 
| 
       116 
     | 
    
         
            -
                  optional :display_name, :string, 2
         
     | 
| 
       117 
     | 
    
         
            -
                  optional :base_url, :string, 3
         
     | 
| 
       118 
     | 
    
         
            -
                  repeated :gpg_keys, :string, 4
         
     | 
| 
       119 
     | 
    
         
            -
                end
         
     | 
| 
       120 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepository" do
         
     | 
| 
       121 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       122 
     | 
    
         
            -
                  optional :url, :string, 2
         
     | 
| 
       123 
     | 
    
         
            -
                end
         
     | 
| 
       124 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource" do
         
     | 
| 
       125 
     | 
    
         
            -
                  optional :validate, :message, 1, "google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec"
         
     | 
| 
       126 
     | 
    
         
            -
                  optional :enforce, :message, 2, "google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec"
         
     | 
| 
       127 
     | 
    
         
            -
                end
         
     | 
| 
       128 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec" do
         
     | 
| 
       129 
     | 
    
         
            -
                  repeated :args, :string, 3
         
     | 
| 
       130 
     | 
    
         
            -
                  optional :interpreter, :enum, 4, "google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter"
         
     | 
| 
       131 
     | 
    
         
            -
                  optional :output_file_path, :string, 5
         
     | 
| 
       132 
     | 
    
         
            -
                  oneof :source do
         
     | 
| 
       133 
     | 
    
         
            -
                    optional :file, :message, 1, "google.cloud.osconfig.v1.OSPolicy.Resource.File"
         
     | 
| 
       134 
     | 
    
         
            -
                    optional :script, :string, 2
         
     | 
| 
       135 
     | 
    
         
            -
                  end
         
     | 
| 
       136 
     | 
    
         
            -
                end
         
     | 
| 
       137 
     | 
    
         
            -
                add_enum "google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.Interpreter" do
         
     | 
| 
       138 
     | 
    
         
            -
                  value :INTERPRETER_UNSPECIFIED, 0
         
     | 
| 
       139 
     | 
    
         
            -
                  value :NONE, 1
         
     | 
| 
       140 
     | 
    
         
            -
                  value :SHELL, 2
         
     | 
| 
       141 
     | 
    
         
            -
                  value :POWERSHELL, 3
         
     | 
| 
       142 
     | 
    
         
            -
                end
         
     | 
| 
       143 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.Resource.FileResource" do
         
     | 
| 
       144 
     | 
    
         
            -
                  optional :path, :string, 3
         
     | 
| 
       145 
     | 
    
         
            -
                  optional :state, :enum, 4, "google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState"
         
     | 
| 
       146 
     | 
    
         
            -
                  optional :permissions, :string, 5
         
     | 
| 
       147 
     | 
    
         
            -
                  oneof :source do
         
     | 
| 
       148 
     | 
    
         
            -
                    optional :file, :message, 1, "google.cloud.osconfig.v1.OSPolicy.Resource.File"
         
     | 
| 
       149 
     | 
    
         
            -
                    optional :content, :string, 2
         
     | 
| 
       150 
     | 
    
         
            -
                  end
         
     | 
| 
       151 
     | 
    
         
            -
                end
         
     | 
| 
       152 
     | 
    
         
            -
                add_enum "google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredState" do
         
     | 
| 
       153 
     | 
    
         
            -
                  value :DESIRED_STATE_UNSPECIFIED, 0
         
     | 
| 
       154 
     | 
    
         
            -
                  value :PRESENT, 1
         
     | 
| 
       155 
     | 
    
         
            -
                  value :ABSENT, 2
         
     | 
| 
       156 
     | 
    
         
            -
                  value :CONTENTS_MATCH, 3
         
     | 
| 
       157 
     | 
    
         
            -
                end
         
     | 
| 
       158 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.OSPolicy.ResourceGroup" do
         
     | 
| 
       159 
     | 
    
         
            -
                  repeated :inventory_filters, :message, 1, "google.cloud.osconfig.v1.OSPolicy.InventoryFilter"
         
     | 
| 
       160 
     | 
    
         
            -
                  repeated :resources, :message, 2, "google.cloud.osconfig.v1.OSPolicy.Resource"
         
     | 
| 
       161 
     | 
    
         
            -
                end
         
     | 
| 
       162 
     | 
    
         
            -
                add_enum "google.cloud.osconfig.v1.OSPolicy.Mode" do
         
     | 
| 
       163 
     | 
    
         
            -
                  value :MODE_UNSPECIFIED, 0
         
     | 
| 
       164 
     | 
    
         
            -
                  value :VALIDATION, 1
         
     | 
| 
       165 
     | 
    
         
            -
                  value :ENFORCEMENT, 2
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            descriptor_data = "\n(google/cloud/osconfig/v1/os_policy.proto\x12\x18google.cloud.osconfig.v1\x1a\x1fgoogle/api/field_behavior.proto\"\xe4 \n\x08OSPolicy\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12:\n\x04mode\x18\x03 \x01(\x0e\x32\'.google.cloud.osconfig.v1.OSPolicy.ModeB\x03\xe0\x41\x02\x12N\n\x0fresource_groups\x18\x04 \x03(\x0b\x32\x30.google.cloud.osconfig.v1.OSPolicy.ResourceGroupB\x03\xe0\x41\x02\x12%\n\x1d\x61llow_no_resource_group_match\x18\x05 \x01(\x08\x1a\x41\n\x0fInventoryFilter\x12\x1a\n\ros_short_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\nos_version\x18\x02 \x01(\t\x1a\xd6\x1c\n\x08Resource\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12J\n\x03pkg\x18\x02 \x01(\x0b\x32;.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResourceH\x00\x12T\n\nrepository\x18\x03 \x01(\x0b\x32>.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResourceH\x00\x12H\n\x04\x65xec\x18\x04 \x01(\x0b\x32\x38.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResourceH\x00\x12H\n\x04\x66ile\x18\x05 \x01(\x0b\x32\x38.google.cloud.osconfig.v1.OSPolicy.Resource.FileResourceH\x00\x1a\xc6\x02\n\x04\x46ile\x12I\n\x06remote\x18\x01 \x01(\x0b\x32\x37.google.cloud.osconfig.v1.OSPolicy.Resource.File.RemoteH\x00\x12\x43\n\x03gcs\x18\x02 \x01(\x0b\x32\x34.google.cloud.osconfig.v1.OSPolicy.Resource.File.GcsH\x00\x12\x14\n\nlocal_path\x18\x03 \x01(\tH\x00\x12\x16\n\x0e\x61llow_insecure\x18\x04 \x01(\x08\x1a\x33\n\x06Remote\x12\x10\n\x03uri\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\x0fsha256_checksum\x18\x02 \x01(\t\x1a\x43\n\x03Gcs\x12\x13\n\x06\x62ucket\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x13\n\x06object\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\ngeneration\x18\x03 \x01(\x03\x42\x06\n\x04type\x1a\xa2\t\n\x0fPackageResource\x12\x64\n\rdesired_state\x18\x01 \x01(\x0e\x32H.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DesiredStateB\x03\xe0\x41\x02\x12N\n\x03\x61pt\x18\x02 \x01(\x0b\x32?.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.APTH\x00\x12N\n\x03\x64\x65\x62\x18\x03 \x01(\x0b\x32?.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.DebH\x00\x12N\n\x03yum\x18\x04 \x01(\x0b\x32?.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.YUMH\x00\x12T\n\x06zypper\x18\x05 \x01(\x0b\x32\x42.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.ZypperH\x00\x12N\n\x03rpm\x18\x06 \x01(\x0b\x32?.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.RPMH\x00\x12T\n\x06googet\x18\x07 \x01(\x0b\x32\x42.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.GooGetH\x00\x12N\n\x03msi\x18\x08 \x01(\x0b\x32?.google.cloud.osconfig.v1.OSPolicy.Resource.PackageResource.MSIH\x00\x1a_\n\x03\x44\x65\x62\x12\x45\n\x06source\x18\x01 \x01(\x0b\x32\x30.google.cloud.osconfig.v1.OSPolicy.Resource.FileB\x03\xe0\x41\x02\x12\x11\n\tpull_deps\x18\x02 \x01(\x08\x1a\x18\n\x03\x41PT\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a_\n\x03RPM\x12\x45\n\x06source\x18\x01 \x01(\x0b\x32\x30.google.cloud.osconfig.v1.OSPolicy.Resource.FileB\x03\xe0\x41\x02\x12\x11\n\tpull_deps\x18\x02 \x01(\x08\x1a\x18\n\x03YUM\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\x1b\n\x06Zypper\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a\x1b\n\x06GooGet\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x1a`\n\x03MSI\x12\x45\n\x06source\x18\x01 \x01(\x0b\x32\x30.google.cloud.osconfig.v1.OSPolicy.Resource.FileB\x03\xe0\x41\x02\x12\x12\n\nproperties\x18\x02 \x03(\t\"I\n\x0c\x44\x65siredState\x12\x1d\n\x19\x44\x45SIRED_STATE_UNSPECIFIED\x10\x00\x12\r\n\tINSTALLED\x10\x01\x12\x0b\n\x07REMOVED\x10\x02\x42\x10\n\x0esystem_package\x1a\xb8\x07\n\x12RepositoryResource\x12[\n\x03\x61pt\x18\x01 \x01(\x0b\x32L.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepositoryH\x00\x12[\n\x03yum\x18\x02 \x01(\x0b\x32L.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.YumRepositoryH\x00\x12\x61\n\x06zypper\x18\x03 \x01(\x0b\x32O.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.ZypperRepositoryH\x00\x12[\n\x03goo\x18\x04 \x01(\x0b\x32L.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.GooRepositoryH\x00\x1a\x9e\x02\n\rAptRepository\x12s\n\x0c\x61rchive_type\x18\x01 \x01(\x0e\x32X.google.cloud.osconfig.v1.OSPolicy.Resource.RepositoryResource.AptRepository.ArchiveTypeB\x03\xe0\x41\x02\x12\x10\n\x03uri\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x19\n\x0c\x64istribution\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x17\n\ncomponents\x18\x04 \x03(\tB\x03\xe0\x41\x02\x12\x0f\n\x07gpg_key\x18\x05 \x01(\t\"A\n\x0b\x41rchiveType\x12\x1c\n\x18\x41RCHIVE_TYPE_UNSPECIFIED\x10\x00\x12\x07\n\x03\x44\x45\x42\x10\x01\x12\x0b\n\x07\x44\x45\x42_SRC\x10\x02\x1a_\n\rYumRepository\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x15\n\x08\x62\x61se_url\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x08gpg_keys\x18\x04 \x03(\t\x1a\x62\n\x10ZypperRepository\x12\x0f\n\x02id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x14\n\x0c\x64isplay_name\x18\x02 \x01(\t\x12\x15\n\x08\x62\x61se_url\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x08gpg_keys\x18\x04 \x03(\t\x1a\x34\n\rGooRepository\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x10\n\x03url\x18\x02 \x01(\tB\x03\xe0\x41\x02\x42\x0c\n\nrepository\x1a\xf9\x03\n\x0c\x45xecResource\x12T\n\x08validate\x18\x01 \x01(\x0b\x32=.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.ExecB\x03\xe0\x41\x02\x12N\n\x07\x65nforce\x18\x02 \x01(\x0b\x32=.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec\x1a\xc2\x02\n\x04\x45xec\x12@\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x30.google.cloud.osconfig.v1.OSPolicy.Resource.FileH\x00\x12\x10\n\x06script\x18\x02 \x01(\tH\x00\x12\x0c\n\x04\x61rgs\x18\x03 \x03(\t\x12\x63\n\x0binterpreter\x18\x04 \x01(\x0e\x32I.google.cloud.osconfig.v1.OSPolicy.Resource.ExecResource.Exec.InterpreterB\x03\xe0\x41\x02\x12\x18\n\x10output_file_path\x18\x05 \x01(\t\"O\n\x0bInterpreter\x12\x1b\n\x17INTERPRETER_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\t\n\x05SHELL\x10\x02\x12\x0e\n\nPOWERSHELL\x10\x03\x42\x08\n\x06source\x1a\xcc\x02\n\x0c\x46ileResource\x12@\n\x04\x66ile\x18\x01 \x01(\x0b\x32\x30.google.cloud.osconfig.v1.OSPolicy.Resource.FileH\x00\x12\x11\n\x07\x63ontent\x18\x02 \x01(\tH\x00\x12\x11\n\x04path\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12Y\n\x05state\x18\x04 \x01(\x0e\x32\x45.google.cloud.osconfig.v1.OSPolicy.Resource.FileResource.DesiredStateB\x03\xe0\x41\x02\x12\x13\n\x0bpermissions\x18\x05 \x01(\t\"Z\n\x0c\x44\x65siredState\x12\x1d\n\x19\x44\x45SIRED_STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRESENT\x10\x01\x12\n\n\x06\x41\x42SENT\x10\x02\x12\x12\n\x0e\x43ONTENTS_MATCH\x10\x03\x42\x08\n\x06sourceB\x0f\n\rresource_type\x1a\xa3\x01\n\rResourceGroup\x12M\n\x11inventory_filters\x18\x01 \x03(\x0b\x32\x32.google.cloud.osconfig.v1.OSPolicy.InventoryFilter\x12\x43\n\tresources\x18\x02 \x03(\x0b\x32+.google.cloud.osconfig.v1.OSPolicy.ResourceB\x03\xe0\x41\x02\"=\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x0e\n\nVALIDATION\x10\x01\x12\x0f\n\x0b\x45NFORCEMENT\x10\x02\x42\xbd\x01\n\x1c\x63om.google.cloud.osconfig.v1B\rOsPolicyProtoP\x01Z8cloud.google.com/go/osconfig/apiv1/osconfigpb;osconfigpb\xaa\x02\x18Google.Cloud.OsConfig.V1\xca\x02\x18Google\\Cloud\\OsConfig\\V1\xea\x02\x1bGoogle::Cloud::OsConfig::V1b\x06proto3"
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
      
 13 
     | 
    
         
            +
             
     | 
| 
      
 14 
     | 
    
         
            +
            begin
         
     | 
| 
      
 15 
     | 
    
         
            +
              pool.add_serialized_file(descriptor_data)
         
     | 
| 
      
 16 
     | 
    
         
            +
            rescue TypeError => e
         
     | 
| 
      
 17 
     | 
    
         
            +
              # Compatibility code: will be removed in the next major version.
         
     | 
| 
      
 18 
     | 
    
         
            +
              require 'google/protobuf/descriptor_pb'
         
     | 
| 
      
 19 
     | 
    
         
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         
     | 
| 
      
 20 
     | 
    
         
            +
              parsed.clear_dependency
         
     | 
| 
      
 21 
     | 
    
         
            +
              serialized = parsed.class.encode(parsed)
         
     | 
| 
      
 22 
     | 
    
         
            +
              file = pool.add_serialized_file(serialized)
         
     | 
| 
      
 23 
     | 
    
         
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         
     | 
| 
      
 24 
     | 
    
         
            +
              imports = [
         
     | 
| 
      
 25 
     | 
    
         
            +
              ]
         
     | 
| 
      
 26 
     | 
    
         
            +
              imports.each do |type_name, expected_filename|
         
     | 
| 
      
 27 
     | 
    
         
            +
                import_file = pool.lookup(type_name).file_descriptor
         
     | 
| 
      
 28 
     | 
    
         
            +
                if import_file.name != expected_filename
         
     | 
| 
      
 29 
     | 
    
         
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         
     | 
| 
       166 
30 
     | 
    
         
             
                end
         
     | 
| 
       167 
31 
     | 
    
         
             
              end
         
     | 
| 
      
 32 
     | 
    
         
            +
              warn "Each proto file must use a consistent fully-qualified name."
         
     | 
| 
      
 33 
     | 
    
         
            +
              warn "This will become an error in the next major version."
         
     | 
| 
       168 
34 
     | 
    
         
             
            end
         
     | 
| 
       169 
35 
     | 
    
         | 
| 
       170 
36 
     | 
    
         
             
            module Google
         
     | 
| 
         @@ -1,17 +1,34 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
       1 
2 
     | 
    
         
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         
     | 
| 
       2 
3 
     | 
    
         
             
            # source: google/cloud/osconfig/v1/osconfig_common.proto
         
     | 
| 
       3 
4 
     | 
    
         | 
| 
       4 
5 
     | 
    
         
             
            require 'google/protobuf'
         
     | 
| 
       5 
6 
     | 
    
         | 
| 
       6 
     | 
    
         
            -
             
     | 
| 
       7 
     | 
    
         
            -
             
     | 
| 
       8 
     | 
    
         
            -
             
     | 
| 
       9 
     | 
    
         
            -
             
     | 
| 
       10 
     | 
    
         
            -
             
     | 
| 
       11 
     | 
    
         
            -
             
     | 
| 
       12 
     | 
    
         
            -
             
     | 
| 
      
 7 
     | 
    
         
            +
             
     | 
| 
      
 8 
     | 
    
         
            +
            descriptor_data = "\n.google/cloud/osconfig/v1/osconfig_common.proto\x12\x18google.cloud.osconfig.v1\"<\n\x0e\x46ixedOrPercent\x12\x0f\n\x05\x66ixed\x18\x01 \x01(\x05H\x00\x12\x11\n\x07percent\x18\x02 \x01(\x05H\x00\x42\x06\n\x04modeB\xb4\x01\n\x1c\x63om.google.cloud.osconfig.v1B\x06\x43ommonZ8cloud.google.com/go/osconfig/apiv1/osconfigpb;osconfigpb\xaa\x02\x18Google.Cloud.OsConfig.V1\xca\x02\x18Google\\Cloud\\OsConfig\\V1\xea\x02\x1bGoogle::Cloud::OsConfig::V1b\x06proto3"
         
     | 
| 
      
 9 
     | 
    
         
            +
             
     | 
| 
      
 10 
     | 
    
         
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
      
 11 
     | 
    
         
            +
             
     | 
| 
      
 12 
     | 
    
         
            +
            begin
         
     | 
| 
      
 13 
     | 
    
         
            +
              pool.add_serialized_file(descriptor_data)
         
     | 
| 
      
 14 
     | 
    
         
            +
            rescue TypeError => e
         
     | 
| 
      
 15 
     | 
    
         
            +
              # Compatibility code: will be removed in the next major version.
         
     | 
| 
      
 16 
     | 
    
         
            +
              require 'google/protobuf/descriptor_pb'
         
     | 
| 
      
 17 
     | 
    
         
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         
     | 
| 
      
 18 
     | 
    
         
            +
              parsed.clear_dependency
         
     | 
| 
      
 19 
     | 
    
         
            +
              serialized = parsed.class.encode(parsed)
         
     | 
| 
      
 20 
     | 
    
         
            +
              file = pool.add_serialized_file(serialized)
         
     | 
| 
      
 21 
     | 
    
         
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         
     | 
| 
      
 22 
     | 
    
         
            +
              imports = [
         
     | 
| 
      
 23 
     | 
    
         
            +
              ]
         
     | 
| 
      
 24 
     | 
    
         
            +
              imports.each do |type_name, expected_filename|
         
     | 
| 
      
 25 
     | 
    
         
            +
                import_file = pool.lookup(type_name).file_descriptor
         
     | 
| 
      
 26 
     | 
    
         
            +
                if import_file.name != expected_filename
         
     | 
| 
      
 27 
     | 
    
         
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         
     | 
| 
       13 
28 
     | 
    
         
             
                end
         
     | 
| 
       14 
29 
     | 
    
         
             
              end
         
     | 
| 
      
 30 
     | 
    
         
            +
              warn "Each proto file must use a consistent fully-qualified name."
         
     | 
| 
      
 31 
     | 
    
         
            +
              warn "This will become an error in the next major version."
         
     | 
| 
       15 
32 
     | 
    
         
             
            end
         
     | 
| 
       16 
33 
     | 
    
         | 
| 
       17 
34 
     | 
    
         
             
            module Google
         
     | 
| 
         @@ -1,3 +1,4 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
       1 
2 
     | 
    
         
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         
     | 
| 
       2 
3 
     | 
    
         
             
            # source: google/cloud/osconfig/v1/osconfig_service.proto
         
     | 
| 
       3 
4 
     | 
    
         | 
| 
         @@ -10,9 +11,31 @@ require 'google/cloud/osconfig/v1/patch_jobs_pb' 
     | 
|
| 
       10 
11 
     | 
    
         
             
            require 'google/protobuf/empty_pb'
         
     | 
| 
       11 
12 
     | 
    
         
             
            require 'google/api/annotations_pb'
         
     | 
| 
       12 
13 
     | 
    
         | 
| 
       13 
     | 
    
         
            -
             
     | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
      
 14 
     | 
    
         
            +
             
     | 
| 
      
 15 
     | 
    
         
            +
            descriptor_data = "\n/google/cloud/osconfig/v1/osconfig_service.proto\x12\x18google.cloud.osconfig.v1\x1a\x17google/api/client.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/osconfig/v1/patch_deployments.proto\x1a)google/cloud/osconfig/v1/patch_jobs.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto2\xac\x12\n\x0fOsConfigService\x12\x9d\x01\n\x0f\x45xecutePatchJob\x12\x30.google.cloud.osconfig.v1.ExecutePatchJobRequest\x1a\".google.cloud.osconfig.v1.PatchJob\"4\x82\xd3\xe4\x93\x02.\")/v1/{parent=projects/*}/patchJobs:execute:\x01*\x12\x91\x01\n\x0bGetPatchJob\x12,.google.cloud.osconfig.v1.GetPatchJobRequest\x1a\".google.cloud.osconfig.v1.PatchJob\"0\x82\xd3\xe4\x93\x02#\x12!/v1/{name=projects/*/patchJobs/*}\xda\x41\x04name\x12\x9a\x01\n\x0e\x43\x61ncelPatchJob\x12/.google.cloud.osconfig.v1.CancelPatchJobRequest\x1a\".google.cloud.osconfig.v1.PatchJob\"3\x82\xd3\xe4\x93\x02-\"(/v1/{name=projects/*/patchJobs/*}:cancel:\x01*\x12\xa4\x01\n\rListPatchJobs\x12..google.cloud.osconfig.v1.ListPatchJobsRequest\x1a/.google.cloud.osconfig.v1.ListPatchJobsResponse\"2\x82\xd3\xe4\x93\x02#\x12!/v1/{parent=projects/*}/patchJobs\xda\x41\x06parent\x12\xe0\x01\n\x1bListPatchJobInstanceDetails\x12<.google.cloud.osconfig.v1.ListPatchJobInstanceDetailsRequest\x1a=.google.cloud.osconfig.v1.ListPatchJobInstanceDetailsResponse\"D\x82\xd3\xe4\x93\x02\x35\x12\x33/v1/{parent=projects/*/patchJobs/*}/instanceDetails\xda\x41\x06parent\x12\xec\x01\n\x15\x43reatePatchDeployment\x12\x36.google.cloud.osconfig.v1.CreatePatchDeploymentRequest\x1a).google.cloud.osconfig.v1.PatchDeployment\"p\x82\xd3\xe4\x93\x02<\"(/v1/{parent=projects/*}/patchDeployments:\x10patch_deployment\xda\x41+parent,patch_deployment,patch_deployment_id\x12\xad\x01\n\x12GetPatchDeployment\x12\x33.google.cloud.osconfig.v1.GetPatchDeploymentRequest\x1a).google.cloud.osconfig.v1.PatchDeployment\"7\x82\xd3\xe4\x93\x02*\x12(/v1/{name=projects/*/patchDeployments/*}\xda\x41\x04name\x12\xc0\x01\n\x14ListPatchDeployments\x12\x35.google.cloud.osconfig.v1.ListPatchDeploymentsRequest\x1a\x36.google.cloud.osconfig.v1.ListPatchDeploymentsResponse\"9\x82\xd3\xe4\x93\x02*\x12(/v1/{parent=projects/*}/patchDeployments\xda\x41\x06parent\x12\xa0\x01\n\x15\x44\x65letePatchDeployment\x12\x36.google.cloud.osconfig.v1.DeletePatchDeploymentRequest\x1a\x16.google.protobuf.Empty\"7\x82\xd3\xe4\x93\x02**(/v1/{name=projects/*/patchDeployments/*}\xda\x41\x04name\x12\xee\x01\n\x15UpdatePatchDeployment\x12\x36.google.cloud.osconfig.v1.UpdatePatchDeploymentRequest\x1a).google.cloud.osconfig.v1.PatchDeployment\"r\x82\xd3\xe4\x93\x02M29/v1/{patch_deployment.name=projects/*/patchDeployments/*}:\x10patch_deployment\xda\x41\x1cpatch_deployment,update_mask\x12\xba\x01\n\x14PausePatchDeployment\x12\x35.google.cloud.osconfig.v1.PausePatchDeploymentRequest\x1a).google.cloud.osconfig.v1.PatchDeployment\"@\x82\xd3\xe4\x93\x02\x33\"./v1/{name=projects/*/patchDeployments/*}:pause:\x01*\xda\x41\x04name\x12\xbd\x01\n\x15ResumePatchDeployment\x12\x36.google.cloud.osconfig.v1.ResumePatchDeploymentRequest\x1a).google.cloud.osconfig.v1.PatchDeployment\"A\x82\xd3\xe4\x93\x02\x34\"//v1/{name=projects/*/patchDeployments/*}:resume:\x01*\xda\x41\x04name\x1aK\xca\x41\x17osconfig.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd4\x02\n\x1c\x63om.google.cloud.osconfig.v1B\rOsConfigProtoZ8cloud.google.com/go/osconfig/apiv1/osconfigpb;osconfigpb\xaa\x02\x18Google.Cloud.OsConfig.V1\xca\x02\x18Google\\Cloud\\OsConfig\\V1\xea\x02\x1bGoogle::Cloud::OsConfig::V1\xea\x41\x95\x01\n\x1f\x63ompute.googleapis.com/Instance\x12\x34projects/{project}/zones/{zone}/instances/{instance}\x12<projects/{project}/locations/{location}/instances/{instance}b\x06proto3"
         
     | 
| 
      
 16 
     | 
    
         
            +
             
     | 
| 
      
 17 
     | 
    
         
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
      
 18 
     | 
    
         
            +
             
     | 
| 
      
 19 
     | 
    
         
            +
            begin
         
     | 
| 
      
 20 
     | 
    
         
            +
              pool.add_serialized_file(descriptor_data)
         
     | 
| 
      
 21 
     | 
    
         
            +
            rescue TypeError => e
         
     | 
| 
      
 22 
     | 
    
         
            +
              # Compatibility code: will be removed in the next major version.
         
     | 
| 
      
 23 
     | 
    
         
            +
              require 'google/protobuf/descriptor_pb'
         
     | 
| 
      
 24 
     | 
    
         
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         
     | 
| 
      
 25 
     | 
    
         
            +
              parsed.clear_dependency
         
     | 
| 
      
 26 
     | 
    
         
            +
              serialized = parsed.class.encode(parsed)
         
     | 
| 
      
 27 
     | 
    
         
            +
              file = pool.add_serialized_file(serialized)
         
     | 
| 
      
 28 
     | 
    
         
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         
     | 
| 
      
 29 
     | 
    
         
            +
              imports = [
         
     | 
| 
      
 30 
     | 
    
         
            +
              ]
         
     | 
| 
      
 31 
     | 
    
         
            +
              imports.each do |type_name, expected_filename|
         
     | 
| 
      
 32 
     | 
    
         
            +
                import_file = pool.lookup(type_name).file_descriptor
         
     | 
| 
      
 33 
     | 
    
         
            +
                if import_file.name != expected_filename
         
     | 
| 
      
 34 
     | 
    
         
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         
     | 
| 
      
 35 
     | 
    
         
            +
                end
         
     | 
| 
       15 
36 
     | 
    
         
             
              end
         
     | 
| 
      
 37 
     | 
    
         
            +
              warn "Each proto file must use a consistent fully-qualified name."
         
     | 
| 
      
 38 
     | 
    
         
            +
              warn "This will become an error in the next major version."
         
     | 
| 
       16 
39 
     | 
    
         
             
            end
         
     | 
| 
       17 
40 
     | 
    
         | 
| 
       18 
41 
     | 
    
         
             
            module Google
         
     | 
| 
         @@ -1,3 +1,4 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
       1 
2 
     | 
    
         
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         
     | 
| 
       2 
3 
     | 
    
         
             
            # source: google/cloud/osconfig/v1/osconfig_zonal_service.proto
         
     | 
| 
       3 
4 
     | 
    
         | 
| 
         @@ -11,9 +12,31 @@ require 'google/cloud/osconfig/v1/os_policy_assignments_pb' 
     | 
|
| 
       11 
12 
     | 
    
         
             
            require 'google/cloud/osconfig/v1/vulnerability_pb'
         
     | 
| 
       12 
13 
     | 
    
         
             
            require 'google/longrunning/operations_pb'
         
     | 
| 
       13 
14 
     | 
    
         | 
| 
       14 
     | 
    
         
            -
             
     | 
| 
       15 
     | 
    
         
            -
             
     | 
| 
      
 15 
     | 
    
         
            +
             
     | 
| 
      
 16 
     | 
    
         
            +
            descriptor_data = "\n5google/cloud/osconfig/v1/osconfig_zonal_service.proto\x12\x18google.cloud.osconfig.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a(google/cloud/osconfig/v1/inventory.proto\x1a;google/cloud/osconfig/v1/os_policy_assignment_reports.proto\x1a\x34google/cloud/osconfig/v1/os_policy_assignments.proto\x1a,google/cloud/osconfig/v1/vulnerability.proto\x1a#google/longrunning/operations.proto2\xac\x17\n\x14OsConfigZonalService\x12\xbe\x02\n\x18\x43reateOSPolicyAssignment\x12\x39.google.cloud.osconfig.v1.CreateOSPolicyAssignmentRequest\x1a\x1d.google.longrunning.Operation\"\xc7\x01\x82\xd3\xe4\x93\x02O\"7/v1/{parent=projects/*/locations/*}/osPolicyAssignments:\x14os_policy_assignment\xda\x41\x33parent,os_policy_assignment,os_policy_assignment_id\xca\x41\x39\n\x12OSPolicyAssignment\x12#OSPolicyAssignmentOperationMetadata\x12\xc0\x02\n\x18UpdateOSPolicyAssignment\x12\x39.google.cloud.osconfig.v1.UpdateOSPolicyAssignmentRequest\x1a\x1d.google.longrunning.Operation\"\xc9\x01\x82\xd3\xe4\x93\x02\x64\x32L/v1/{os_policy_assignment.name=projects/*/locations/*/osPolicyAssignments/*}:\x14os_policy_assignment\xda\x41 os_policy_assignment,update_mask\xca\x41\x39\n\x12OSPolicyAssignment\x12#OSPolicyAssignmentOperationMetadata\x12\xc5\x01\n\x15GetOSPolicyAssignment\x12\x36.google.cloud.osconfig.v1.GetOSPolicyAssignmentRequest\x1a,.google.cloud.osconfig.v1.OSPolicyAssignment\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/osPolicyAssignments/*}\xda\x41\x04name\x12\xd8\x01\n\x17ListOSPolicyAssignments\x12\x38.google.cloud.osconfig.v1.ListOSPolicyAssignmentsRequest\x1a\x39.google.cloud.osconfig.v1.ListOSPolicyAssignmentsResponse\"H\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{parent=projects/*/locations/*}/osPolicyAssignments\xda\x41\x06parent\x12\xfc\x01\n\x1fListOSPolicyAssignmentRevisions\x12@.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsRequest\x1a\x41.google.cloud.osconfig.v1.ListOSPolicyAssignmentRevisionsResponse\"T\x82\xd3\xe4\x93\x02G\x12\x45/v1/{name=projects/*/locations/*/osPolicyAssignments/*}:listRevisions\xda\x41\x04name\x12\xfc\x01\n\x18\x44\x65leteOSPolicyAssignment\x12\x39.google.cloud.osconfig.v1.DeleteOSPolicyAssignmentRequest\x1a\x1d.google.longrunning.Operation\"\x85\x01\x82\xd3\xe4\x93\x02\x39*7/v1/{name=projects/*/locations/*/osPolicyAssignments/*}\xda\x41\x04name\xca\x41<\n\x15google.protobuf.Empty\x12#OSPolicyAssignmentOperationMetadata\x12\xea\x01\n\x1bGetOSPolicyAssignmentReport\x12<.google.cloud.osconfig.v1.GetOSPolicyAssignmentReportRequest\x1a\x32.google.cloud.osconfig.v1.OSPolicyAssignmentReport\"Y\x82\xd3\xe4\x93\x02L\x12J/v1/{name=projects/*/locations/*/instances/*/osPolicyAssignments/*/report}\xda\x41\x04name\x12\x80\x02\n\x1dListOSPolicyAssignmentReports\x12>.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsRequest\x1a?.google.cloud.osconfig.v1.ListOSPolicyAssignmentReportsResponse\"^\x82\xd3\xe4\x93\x02O\x12M/v1/{parent=projects/*/locations/*/instances/*/osPolicyAssignments/*}/reports\xda\x41\x06parent\x12\xaa\x01\n\x0cGetInventory\x12-.google.cloud.osconfig.v1.GetInventoryRequest\x1a#.google.cloud.osconfig.v1.Inventory\"F\x82\xd3\xe4\x93\x02\x39\x12\x37/v1/{name=projects/*/locations/*/instances/*/inventory}\xda\x41\x04name\x12\xc4\x01\n\x0fListInventories\x12\x30.google.cloud.osconfig.v1.ListInventoriesRequest\x1a\x31.google.cloud.osconfig.v1.ListInventoriesResponse\"L\x82\xd3\xe4\x93\x02=\x12;/v1/{parent=projects/*/locations/*/instances/*}/inventories\xda\x41\x06parent\x12\xd2\x01\n\x16GetVulnerabilityReport\x12\x37.google.cloud.osconfig.v1.GetVulnerabilityReportRequest\x1a-.google.cloud.osconfig.v1.VulnerabilityReport\"P\x82\xd3\xe4\x93\x02\x43\x12\x41/v1/{name=projects/*/locations/*/instances/*/vulnerabilityReport}\xda\x41\x04name\x12\xe8\x01\n\x18ListVulnerabilityReports\x12\x39.google.cloud.osconfig.v1.ListVulnerabilityReportsRequest\x1a:.google.cloud.osconfig.v1.ListVulnerabilityReportsResponse\"U\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{parent=projects/*/locations/*/instances/*}/vulnerabilityReports\xda\x41\x06parent\x1aK\xca\x41\x17osconfig.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xc9\x01\n\x1c\x63om.google.cloud.osconfig.v1B\x19OsConfigZonalServiceProtoP\x01Z8cloud.google.com/go/osconfig/apiv1/osconfigpb;osconfigpb\xaa\x02\x18Google.Cloud.OsConfig.V1\xca\x02\x18Google\\Cloud\\OsConfig\\V1\xea\x02\x1bGoogle::Cloud::OsConfig::V1b\x06proto3"
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            begin
         
     | 
| 
      
 21 
     | 
    
         
            +
              pool.add_serialized_file(descriptor_data)
         
     | 
| 
      
 22 
     | 
    
         
            +
            rescue TypeError => e
         
     | 
| 
      
 23 
     | 
    
         
            +
              # Compatibility code: will be removed in the next major version.
         
     | 
| 
      
 24 
     | 
    
         
            +
              require 'google/protobuf/descriptor_pb'
         
     | 
| 
      
 25 
     | 
    
         
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         
     | 
| 
      
 26 
     | 
    
         
            +
              parsed.clear_dependency
         
     | 
| 
      
 27 
     | 
    
         
            +
              serialized = parsed.class.encode(parsed)
         
     | 
| 
      
 28 
     | 
    
         
            +
              file = pool.add_serialized_file(serialized)
         
     | 
| 
      
 29 
     | 
    
         
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         
     | 
| 
      
 30 
     | 
    
         
            +
              imports = [
         
     | 
| 
      
 31 
     | 
    
         
            +
              ]
         
     | 
| 
      
 32 
     | 
    
         
            +
              imports.each do |type_name, expected_filename|
         
     | 
| 
      
 33 
     | 
    
         
            +
                import_file = pool.lookup(type_name).file_descriptor
         
     | 
| 
      
 34 
     | 
    
         
            +
                if import_file.name != expected_filename
         
     | 
| 
      
 35 
     | 
    
         
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         
     | 
| 
      
 36 
     | 
    
         
            +
                end
         
     | 
| 
       16 
37 
     | 
    
         
             
              end
         
     | 
| 
      
 38 
     | 
    
         
            +
              warn "Each proto file must use a consistent fully-qualified name."
         
     | 
| 
      
 39 
     | 
    
         
            +
              warn "This will become an error in the next major version."
         
     | 
| 
       17 
40 
     | 
    
         
             
            end
         
     | 
| 
       18 
41 
     | 
    
         | 
| 
       19 
42 
     | 
    
         
             
            module Google
         
     | 
| 
         @@ -1,3 +1,4 @@ 
     | 
|
| 
      
 1 
     | 
    
         
            +
            # frozen_string_literal: true
         
     | 
| 
       1 
2 
     | 
    
         
             
            # Generated by the protocol buffer compiler.  DO NOT EDIT!
         
     | 
| 
       2 
3 
     | 
    
         
             
            # source: google/cloud/osconfig/v1/patch_deployments.proto
         
     | 
| 
       3 
4 
     | 
    
         | 
| 
         @@ -13,96 +14,37 @@ require 'google/type/datetime_pb' 
     | 
|
| 
       13 
14 
     | 
    
         
             
            require 'google/type/dayofweek_pb'
         
     | 
| 
       14 
15 
     | 
    
         
             
            require 'google/type/timeofday_pb'
         
     | 
| 
       15 
16 
     | 
    
         | 
| 
       16 
     | 
    
         
            -
             
     | 
| 
       17 
     | 
    
         
            -
             
     | 
| 
       18 
     | 
    
         
            -
             
     | 
| 
       19 
     | 
    
         
            -
             
     | 
| 
       20 
     | 
    
         
            -
             
     | 
| 
       21 
     | 
    
         
            -
             
     | 
| 
       22 
     | 
    
         
            -
             
     | 
| 
       23 
     | 
    
         
            -
             
     | 
| 
       24 
     | 
    
         
            -
             
     | 
| 
       25 
     | 
    
         
            -
             
     | 
| 
       26 
     | 
    
         
            -
             
     | 
| 
       27 
     | 
    
         
            -
             
     | 
| 
       28 
     | 
    
         
            -
             
     | 
| 
       29 
     | 
    
         
            -
             
     | 
| 
       30 
     | 
    
         
            -
             
     | 
| 
       31 
     | 
    
         
            -
             
     | 
| 
       32 
     | 
    
         
            -
             
     | 
| 
       33 
     | 
    
         
            -
                 
     | 
| 
       34 
     | 
    
         
            -
                 
     | 
| 
       35 
     | 
    
         
            -
             
     | 
| 
       36 
     | 
    
         
            -
             
     | 
| 
       37 
     | 
    
         
            -
             
     | 
| 
       38 
     | 
    
         
            -
             
     | 
| 
       39 
     | 
    
         
            -
             
     | 
| 
       40 
     | 
    
         
            -
             
     | 
| 
       41 
     | 
    
         
            -
                 
     | 
| 
       42 
     | 
    
         
            -
             
     | 
| 
       43 
     | 
    
         
            -
                  optional :time_zone, :message, 1, "google.type.TimeZone"
         
     | 
| 
       44 
     | 
    
         
            -
                  optional :start_time, :message, 2, "google.protobuf.Timestamp"
         
     | 
| 
       45 
     | 
    
         
            -
                  optional :end_time, :message, 3, "google.protobuf.Timestamp"
         
     | 
| 
       46 
     | 
    
         
            -
                  optional :time_of_day, :message, 4, "google.type.TimeOfDay"
         
     | 
| 
       47 
     | 
    
         
            -
                  optional :frequency, :enum, 5, "google.cloud.osconfig.v1.RecurringSchedule.Frequency"
         
     | 
| 
       48 
     | 
    
         
            -
                  optional :last_execute_time, :message, 9, "google.protobuf.Timestamp"
         
     | 
| 
       49 
     | 
    
         
            -
                  optional :next_execute_time, :message, 10, "google.protobuf.Timestamp"
         
     | 
| 
       50 
     | 
    
         
            -
                  oneof :schedule_config do
         
     | 
| 
       51 
     | 
    
         
            -
                    optional :weekly, :message, 6, "google.cloud.osconfig.v1.WeeklySchedule"
         
     | 
| 
       52 
     | 
    
         
            -
                    optional :monthly, :message, 7, "google.cloud.osconfig.v1.MonthlySchedule"
         
     | 
| 
       53 
     | 
    
         
            -
                  end
         
     | 
| 
       54 
     | 
    
         
            -
                end
         
     | 
| 
       55 
     | 
    
         
            -
                add_enum "google.cloud.osconfig.v1.RecurringSchedule.Frequency" do
         
     | 
| 
       56 
     | 
    
         
            -
                  value :FREQUENCY_UNSPECIFIED, 0
         
     | 
| 
       57 
     | 
    
         
            -
                  value :WEEKLY, 1
         
     | 
| 
       58 
     | 
    
         
            -
                  value :MONTHLY, 2
         
     | 
| 
       59 
     | 
    
         
            -
                  value :DAILY, 3
         
     | 
| 
       60 
     | 
    
         
            -
                end
         
     | 
| 
       61 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.WeeklySchedule" do
         
     | 
| 
       62 
     | 
    
         
            -
                  optional :day_of_week, :enum, 1, "google.type.DayOfWeek"
         
     | 
| 
       63 
     | 
    
         
            -
                end
         
     | 
| 
       64 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.MonthlySchedule" do
         
     | 
| 
       65 
     | 
    
         
            -
                  oneof :day_of_month do
         
     | 
| 
       66 
     | 
    
         
            -
                    optional :week_day_of_month, :message, 1, "google.cloud.osconfig.v1.WeekDayOfMonth"
         
     | 
| 
       67 
     | 
    
         
            -
                    optional :month_day, :int32, 2
         
     | 
| 
       68 
     | 
    
         
            -
                  end
         
     | 
| 
       69 
     | 
    
         
            -
                end
         
     | 
| 
       70 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.WeekDayOfMonth" do
         
     | 
| 
       71 
     | 
    
         
            -
                  optional :week_ordinal, :int32, 1
         
     | 
| 
       72 
     | 
    
         
            -
                  optional :day_of_week, :enum, 2, "google.type.DayOfWeek"
         
     | 
| 
       73 
     | 
    
         
            -
                  optional :day_offset, :int32, 3
         
     | 
| 
       74 
     | 
    
         
            -
                end
         
     | 
| 
       75 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.CreatePatchDeploymentRequest" do
         
     | 
| 
       76 
     | 
    
         
            -
                  optional :parent, :string, 1
         
     | 
| 
       77 
     | 
    
         
            -
                  optional :patch_deployment_id, :string, 2
         
     | 
| 
       78 
     | 
    
         
            -
                  optional :patch_deployment, :message, 3, "google.cloud.osconfig.v1.PatchDeployment"
         
     | 
| 
       79 
     | 
    
         
            -
                end
         
     | 
| 
       80 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.GetPatchDeploymentRequest" do
         
     | 
| 
       81 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       82 
     | 
    
         
            -
                end
         
     | 
| 
       83 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.ListPatchDeploymentsRequest" do
         
     | 
| 
       84 
     | 
    
         
            -
                  optional :parent, :string, 1
         
     | 
| 
       85 
     | 
    
         
            -
                  optional :page_size, :int32, 2
         
     | 
| 
       86 
     | 
    
         
            -
                  optional :page_token, :string, 3
         
     | 
| 
       87 
     | 
    
         
            -
                end
         
     | 
| 
       88 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.ListPatchDeploymentsResponse" do
         
     | 
| 
       89 
     | 
    
         
            -
                  repeated :patch_deployments, :message, 1, "google.cloud.osconfig.v1.PatchDeployment"
         
     | 
| 
       90 
     | 
    
         
            -
                  optional :next_page_token, :string, 2
         
     | 
| 
       91 
     | 
    
         
            -
                end
         
     | 
| 
       92 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.DeletePatchDeploymentRequest" do
         
     | 
| 
       93 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       94 
     | 
    
         
            -
                end
         
     | 
| 
       95 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.UpdatePatchDeploymentRequest" do
         
     | 
| 
       96 
     | 
    
         
            -
                  optional :patch_deployment, :message, 1, "google.cloud.osconfig.v1.PatchDeployment"
         
     | 
| 
       97 
     | 
    
         
            -
                  optional :update_mask, :message, 2, "google.protobuf.FieldMask"
         
     | 
| 
       98 
     | 
    
         
            -
                end
         
     | 
| 
       99 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.PausePatchDeploymentRequest" do
         
     | 
| 
       100 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
       101 
     | 
    
         
            -
                end
         
     | 
| 
       102 
     | 
    
         
            -
                add_message "google.cloud.osconfig.v1.ResumePatchDeploymentRequest" do
         
     | 
| 
       103 
     | 
    
         
            -
                  optional :name, :string, 1
         
     | 
| 
      
 17 
     | 
    
         
            +
             
     | 
| 
      
 18 
     | 
    
         
            +
            descriptor_data = "\n0google/cloud/osconfig/v1/patch_deployments.proto\x12\x18google.cloud.osconfig.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a)google/cloud/osconfig/v1/patch_jobs.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1agoogle/type/datetime.proto\x1a\x1bgoogle/type/dayofweek.proto\x1a\x1bgoogle/type/timeofday.proto\"\xec\x06\n\x0fPatchDeployment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x18\n\x0b\x64\x65scription\x18\x02 \x01(\tB\x03\xe0\x41\x01\x12K\n\x0finstance_filter\x18\x03 \x01(\x0b\x32-.google.cloud.osconfig.v1.PatchInstanceFilterB\x03\xe0\x41\x02\x12@\n\x0cpatch_config\x18\x04 \x01(\x0b\x32%.google.cloud.osconfig.v1.PatchConfigB\x03\xe0\x41\x01\x12\x30\n\x08\x64uration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\x03\xe0\x41\x01\x12K\n\x11one_time_schedule\x18\x06 \x01(\x0b\x32).google.cloud.osconfig.v1.OneTimeScheduleB\x03\xe0\x41\x02H\x00\x12N\n\x12recurring_schedule\x18\x07 \x01(\x0b\x32+.google.cloud.osconfig.v1.RecurringScheduleB\x03\xe0\x41\x02H\x00\x12\x34\n\x0b\x63reate_time\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12:\n\x11last_execute_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12<\n\x07rollout\x18\x0b \x01(\x0b\x32&.google.cloud.osconfig.v1.PatchRolloutB\x03\xe0\x41\x01\x12\x43\n\x05state\x18\x0c \x01(\x0e\x32/.google.cloud.osconfig.v1.PatchDeployment.StateB\x03\xe0\x41\x03\"6\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\n\n\x06PAUSED\x10\x02:d\xea\x41\x61\n\'osconfig.googleapis.com/PatchDeployment\x12\x36projects/{project}/patchDeployments/{patch_deployment}B\n\n\x08schedule\"H\n\x0fOneTimeSchedule\x12\x35\n\x0c\x65xecute_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x02\"\x86\x05\n\x11RecurringSchedule\x12-\n\ttime_zone\x18\x01 \x01(\x0b\x32\x15.google.type.TimeZoneB\x03\xe0\x41\x02\x12\x33\n\nstart_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x31\n\x08\x65nd_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x01\x12\x30\n\x0btime_of_day\x18\x04 \x01(\x0b\x32\x16.google.type.TimeOfDayB\x03\xe0\x41\x02\x12M\n\tfrequency\x18\x05 \x01(\x0e\x32\x35.google.cloud.osconfig.v1.RecurringSchedule.FrequencyB\x03\xe0\x41\x02\x12?\n\x06weekly\x18\x06 \x01(\x0b\x32(.google.cloud.osconfig.v1.WeeklyScheduleB\x03\xe0\x41\x02H\x00\x12\x41\n\x07monthly\x18\x07 \x01(\x0b\x32).google.cloud.osconfig.v1.MonthlyScheduleB\x03\xe0\x41\x02H\x00\x12:\n\x11last_execute_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12:\n\x11next_execute_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\"J\n\tFrequency\x12\x19\n\x15\x46REQUENCY_UNSPECIFIED\x10\x00\x12\n\n\x06WEEKLY\x10\x01\x12\x0b\n\x07MONTHLY\x10\x02\x12\t\n\x05\x44\x41ILY\x10\x03\x42\x11\n\x0fschedule_config\"B\n\x0eWeeklySchedule\x12\x30\n\x0b\x64\x61y_of_week\x18\x01 \x01(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x02\"\x87\x01\n\x0fMonthlySchedule\x12J\n\x11week_day_of_month\x18\x01 \x01(\x0b\x32(.google.cloud.osconfig.v1.WeekDayOfMonthB\x03\xe0\x41\x02H\x00\x12\x18\n\tmonth_day\x18\x02 \x01(\x05\x42\x03\xe0\x41\x02H\x00\x42\x0e\n\x0c\x64\x61y_of_month\"v\n\x0eWeekDayOfMonth\x12\x19\n\x0cweek_ordinal\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x30\n\x0b\x64\x61y_of_week\x18\x02 \x01(\x0e\x32\x16.google.type.DayOfWeekB\x03\xe0\x41\x02\x12\x17\n\nday_offset\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\"\xcf\x01\n\x1c\x43reatePatchDeploymentRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12 \n\x13patch_deployment_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12H\n\x10patch_deployment\x18\x03 \x01(\x0b\x32).google.cloud.osconfig.v1.PatchDeploymentB\x03\xe0\x41\x02\"Z\n\x19GetPatchDeploymentRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'osconfig.googleapis.com/PatchDeployment\"\x93\x01\n\x1bListPatchDeploymentsRequest\x12\x43\n\x06parent\x18\x01 \x01(\tB3\xe0\x41\x02\xfa\x41-\n+cloudresourcemanager.googleapis.com/Project\x12\x16\n\tpage_size\x18\x02 \x01(\x05\x42\x03\xe0\x41\x01\x12\x17\n\npage_token\x18\x03 \x01(\tB\x03\xe0\x41\x01\"}\n\x1cListPatchDeploymentsResponse\x12\x44\n\x11patch_deployments\x18\x01 \x03(\x0b\x32).google.cloud.osconfig.v1.PatchDeployment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"]\n\x1c\x44\x65letePatchDeploymentRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'osconfig.googleapis.com/PatchDeployment\"\x9e\x01\n\x1cUpdatePatchDeploymentRequest\x12H\n\x10patch_deployment\x18\x01 \x01(\x0b\x32).google.cloud.osconfig.v1.PatchDeploymentB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\"\\\n\x1bPausePatchDeploymentRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'osconfig.googleapis.com/PatchDeployment\"]\n\x1cResumePatchDeploymentRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'osconfig.googleapis.com/PatchDeploymentB\xbe\x01\n\x1c\x63om.google.cloud.osconfig.v1B\x10PatchDeploymentsZ8cloud.google.com/go/osconfig/apiv1/osconfigpb;osconfigpb\xaa\x02\x18Google.Cloud.OsConfig.V1\xca\x02\x18Google\\Cloud\\OsConfig\\V1\xea\x02\x1bGoogle::Cloud::OsConfig::V1b\x06proto3"
         
     | 
| 
      
 19 
     | 
    
         
            +
             
     | 
| 
      
 20 
     | 
    
         
            +
            pool = Google::Protobuf::DescriptorPool.generated_pool
         
     | 
| 
      
 21 
     | 
    
         
            +
             
     | 
| 
      
 22 
     | 
    
         
            +
            begin
         
     | 
| 
      
 23 
     | 
    
         
            +
              pool.add_serialized_file(descriptor_data)
         
     | 
| 
      
 24 
     | 
    
         
            +
            rescue TypeError => e
         
     | 
| 
      
 25 
     | 
    
         
            +
              # Compatibility code: will be removed in the next major version.
         
     | 
| 
      
 26 
     | 
    
         
            +
              require 'google/protobuf/descriptor_pb'
         
     | 
| 
      
 27 
     | 
    
         
            +
              parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
         
     | 
| 
      
 28 
     | 
    
         
            +
              parsed.clear_dependency
         
     | 
| 
      
 29 
     | 
    
         
            +
              serialized = parsed.class.encode(parsed)
         
     | 
| 
      
 30 
     | 
    
         
            +
              file = pool.add_serialized_file(serialized)
         
     | 
| 
      
 31 
     | 
    
         
            +
              warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
         
     | 
| 
      
 32 
     | 
    
         
            +
              imports = [
         
     | 
| 
      
 33 
     | 
    
         
            +
                ["google.cloud.osconfig.v1.PatchInstanceFilter", "google/cloud/osconfig/v1/patch_jobs.proto"],
         
     | 
| 
      
 34 
     | 
    
         
            +
                ["google.protobuf.Duration", "google/protobuf/duration.proto"],
         
     | 
| 
      
 35 
     | 
    
         
            +
                ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
         
     | 
| 
      
 36 
     | 
    
         
            +
                ["google.type.TimeZone", "google/type/datetime.proto"],
         
     | 
| 
      
 37 
     | 
    
         
            +
                ["google.type.TimeOfDay", "google/type/timeofday.proto"],
         
     | 
| 
      
 38 
     | 
    
         
            +
                ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
         
     | 
| 
      
 39 
     | 
    
         
            +
              ]
         
     | 
| 
      
 40 
     | 
    
         
            +
              imports.each do |type_name, expected_filename|
         
     | 
| 
      
 41 
     | 
    
         
            +
                import_file = pool.lookup(type_name).file_descriptor
         
     | 
| 
      
 42 
     | 
    
         
            +
                if import_file.name != expected_filename
         
     | 
| 
      
 43 
     | 
    
         
            +
                  warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
         
     | 
| 
       104 
44 
     | 
    
         
             
                end
         
     | 
| 
       105 
45 
     | 
    
         
             
              end
         
     | 
| 
      
 46 
     | 
    
         
            +
              warn "Each proto file must use a consistent fully-qualified name."
         
     | 
| 
      
 47 
     | 
    
         
            +
              warn "This will become an error in the next major version."
         
     | 
| 
       106 
48 
     | 
    
         
             
            end
         
     | 
| 
       107 
49 
     | 
    
         | 
| 
       108 
50 
     | 
    
         
             
            module Google
         
     |