# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/osconfig/v1alpha/os_policy_assignments.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/osconfig/v1alpha/os_policy_pb' require 'google/cloud/osconfig/v1alpha/osconfig_common_pb' require 'google/protobuf/duration_pb' require 'google/protobuf/field_mask_pb' require 'google/protobuf/timestamp_pb' descriptor_data = "\n9google/cloud/osconfig/v1alpha/os_policy_assignments.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a-google/cloud/osconfig/v1alpha/os_policy.proto\x1a\x33google/cloud/osconfig/v1alpha/osconfig_common.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf9\x0b\n\x12OSPolicyAssignment\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x42\n\x0bos_policies\x18\x03 \x03(\x0b\x32\'.google.cloud.osconfig.v1alpha.OSPolicyB\x04\xe2\x41\x01\x02\x12_\n\x0finstance_filter\x18\x04 \x01(\x0b\x32@.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilterB\x04\xe2\x41\x01\x02\x12P\n\x07rollout\x18\x05 \x01(\x0b\x32\x39.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutB\x04\xe2\x41\x01\x02\x12\x19\n\x0brevision_id\x18\x06 \x01(\tB\x04\xe2\x41\x01\x03\x12>\n\x14revision_create_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12\x0c\n\x04\x65tag\x18\x08 \x01(\t\x12[\n\rrollout_state\x18\t \x01(\x0e\x32>.google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutStateB\x04\xe2\x41\x01\x03\x12\x16\n\x08\x62\x61seline\x18\n \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x15\n\x07\x64\x65leted\x18\x0b \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x19\n\x0breconciling\x18\x0c \x01(\x08\x42\x04\xe2\x41\x01\x03\x12\x11\n\x03uid\x18\r \x01(\tB\x04\xe2\x41\x01\x03\x1a\x91\x01\n\x08LabelSet\x12V\n\x06labels\x18\x01 \x03(\x0b\x32\x46.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x84\x03\n\x0eInstanceFilter\x12\x0b\n\x03\x61ll\x18\x01 \x01(\x08\x12\x1a\n\x0eos_short_names\x18\x02 \x03(\tB\x02\x18\x01\x12T\n\x10inclusion_labels\x18\x03 \x03(\x0b\x32:.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet\x12T\n\x10\x65xclusion_labels\x18\x04 \x03(\x0b\x32:.google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet\x12_\n\x0binventories\x18\x05 \x03(\x0b\x32J.google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory\x1a<\n\tInventory\x12\x1b\n\ros_short_name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x02\x12\x12\n\nos_version\x18\x02 \x01(\t\x1a\x95\x01\n\x07Rollout\x12N\n\x11\x64isruption_budget\x18\x01 \x01(\x0b\x32-.google.cloud.osconfig.v1alpha.FixedOrPercentB\x04\xe2\x41\x01\x02\x12:\n\x11min_wait_duration\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x04\xe2\x41\x01\x02\"l\n\x0cRolloutState\x12\x1d\n\x19ROLLOUT_STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\x0e\n\nCANCELLING\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\r\n\tSUCCEEDED\x10\x04:\x84\x01\xea\x41\x80\x01\n*osconfig.googleapis.com/OSPolicyAssignment\x12Rprojects/{project}/locations/{location}/osPolicyAssignments/{os_policy_assignment}\"\xea\x04\n#OSPolicyAssignmentOperationMetadata\x12M\n\x14os_policy_assignment\x18\x01 \x01(\tB/\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignment\x12`\n\napi_method\x18\x02 \x01(\x0e\x32L.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod\x12\x66\n\rrollout_state\x18\x03 \x01(\x0e\x32O.google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState\x12\x36\n\x12rollout_start_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x13rollout_update_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"K\n\tAPIMethod\x12\x1a\n\x16\x41PI_METHOD_UNSPECIFIED\x10\x00\x12\n\n\x06\x43REATE\x10\x01\x12\n\n\x06UPDATE\x10\x02\x12\n\n\x06\x44\x45LETE\x10\x03\"l\n\x0cRolloutState\x12\x1d\n\x19ROLLOUT_STATE_UNSPECIFIED\x10\x00\x12\x0f\n\x0bIN_PROGRESS\x10\x01\x12\x0e\n\nCANCELLING\x10\x02\x12\r\n\tCANCELLED\x10\x03\x12\r\n\tSUCCEEDED\x10\x04\"\xdb\x01\n\x1f\x43reateOSPolicyAssignmentRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12U\n\x14os_policy_assignment\x18\x02 \x01(\x0b\x32\x31.google.cloud.osconfig.v1alpha.OSPolicyAssignmentB\x04\xe2\x41\x01\x02\x12%\n\x17os_policy_assignment_id\x18\x03 \x01(\tB\x04\xe2\x41\x01\x02\"\xaf\x01\n\x1fUpdateOSPolicyAssignmentRequest\x12U\n\x14os_policy_assignment\x18\x01 \x01(\x0b\x32\x31.google.cloud.osconfig.v1alpha.OSPolicyAssignmentB\x04\xe2\x41\x01\x02\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe2\x41\x01\x01\"a\n\x1cGetOSPolicyAssignmentRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignment\"\x83\x01\n\x1eListOSPolicyAssignmentsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe2\x41\x01\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x8c\x01\n\x1fListOSPolicyAssignmentsResponse\x12P\n\x15os_policy_assignments\x18\x01 \x03(\x0b\x32\x31.google.cloud.osconfig.v1alpha.OSPolicyAssignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x92\x01\n&ListOSPolicyAssignmentRevisionsRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignment\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"\x94\x01\n\'ListOSPolicyAssignmentRevisionsResponse\x12P\n\x15os_policy_assignments\x18\x01 \x03(\x0b\x32\x31.google.cloud.osconfig.v1alpha.OSPolicyAssignment\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"d\n\x1f\x44\x65leteOSPolicyAssignmentRequest\x12\x41\n\x04name\x18\x01 \x01(\tB3\xe2\x41\x01\x02\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignmentB\xe1\x01\n!com.google.cloud.osconfig.v1alphaB\x18OsPolicyAssignmentsProtoP\x01Z=cloud.google.com/go/osconfig/apiv1alpha/osconfigpb;osconfigpb\xaa\x02\x1dGoogle.Cloud.OsConfig.V1Alpha\xca\x02\x1dGoogle\\Cloud\\OsConfig\\V1alpha\xea\x02 Google::Cloud::OsConfig::V1alphab\x06proto3" pool = Google::Protobuf::DescriptorPool.generated_pool begin pool.add_serialized_file(descriptor_data) rescue TypeError # Compatibility code: will be removed in the next major version. require 'google/protobuf/descriptor_pb' parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data) parsed.clear_dependency serialized = parsed.class.encode(parsed) file = pool.add_serialized_file(serialized) warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}" imports = [ ["google.cloud.osconfig.v1alpha.OSPolicy", "google/cloud/osconfig/v1alpha/os_policy.proto"], ["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"], ["google.cloud.osconfig.v1alpha.FixedOrPercent", "google/cloud/osconfig/v1alpha/osconfig_common.proto"], ["google.protobuf.Duration", "google/protobuf/duration.proto"], ["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"], ] imports.each do |type_name, expected_filename| import_file = pool.lookup(type_name).file_descriptor if import_file.name != expected_filename warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}" end end warn "Each proto file must use a consistent fully-qualified name." warn "This will become an error in the next major version." end module Google module Cloud module OsConfig module V1alpha OSPolicyAssignment = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignment").msgclass OSPolicyAssignment::LabelSet = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignment.LabelSet").msgclass OSPolicyAssignment::InstanceFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter").msgclass OSPolicyAssignment::InstanceFilter::Inventory = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignment.InstanceFilter.Inventory").msgclass OSPolicyAssignment::Rollout = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignment.Rollout").msgclass OSPolicyAssignment::RolloutState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignment.RolloutState").enummodule OSPolicyAssignmentOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata").msgclass OSPolicyAssignmentOperationMetadata::APIMethod = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.APIMethod").enummodule OSPolicyAssignmentOperationMetadata::RolloutState = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.OSPolicyAssignmentOperationMetadata.RolloutState").enummodule CreateOSPolicyAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.CreateOSPolicyAssignmentRequest").msgclass UpdateOSPolicyAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.UpdateOSPolicyAssignmentRequest").msgclass GetOSPolicyAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.GetOSPolicyAssignmentRequest").msgclass ListOSPolicyAssignmentsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsRequest").msgclass ListOSPolicyAssignmentsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentsResponse").msgclass ListOSPolicyAssignmentRevisionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsRequest").msgclass ListOSPolicyAssignmentRevisionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListOSPolicyAssignmentRevisionsResponse").msgclass DeleteOSPolicyAssignmentRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.DeleteOSPolicyAssignmentRequest").msgclass end end end end