# frozen_string_literal: true # Generated by the protocol buffer compiler. DO NOT EDIT! # source: google/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto require 'google/protobuf' require 'google/api/field_behavior_pb' require 'google/api/resource_pb' require 'google/cloud/osconfig/v1alpha/config_common_pb' require 'google/protobuf/timestamp_pb' descriptor_data = "\nCgoogle/cloud/osconfig/v1alpha/instance_os_policies_compliance.proto\x12\x1dgoogle.cloud.osconfig.v1alpha\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/osconfig/v1alpha/config_common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf6\x06\n\x1cInstanceOSPoliciesCompliance\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe2\x41\x01\x03\x12\x16\n\x08instance\x18\x02 \x01(\tB\x04\xe2\x41\x01\x03\x12K\n\x05state\x18\x03 \x01(\x0e\x32\x36.google.cloud.osconfig.v1alpha.OSPolicyComplianceStateB\x04\xe2\x41\x01\x03\x12\x1c\n\x0e\x64\x65tailed_state\x18\x04 \x01(\tB\x04\xe2\x41\x01\x03\x12#\n\x15\x64\x65tailed_state_reason\x18\x05 \x01(\tB\x04\xe2\x41\x01\x03\x12s\n\x15os_policy_compliances\x18\x06 \x03(\x0b\x32N.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyComplianceB\x04\xe2\x41\x01\x03\x12\x44\n\x1alast_compliance_check_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe2\x41\x01\x03\x12$\n\x16last_compliance_run_id\x18\x08 \x01(\tB\x04\xe2\x41\x01\x03\x1a\xa7\x02\n\x12OSPolicyCompliance\x12\x14\n\x0cos_policy_id\x18\x01 \x01(\t\x12M\n\x14os_policy_assignment\x18\x02 \x01(\tB/\xfa\x41,\n*osconfig.googleapis.com/OSPolicyAssignment\x12\x45\n\x05state\x18\x04 \x01(\x0e\x32\x36.google.cloud.osconfig.v1alpha.OSPolicyComplianceState\x12\x61\n\x1eos_policy_resource_compliances\x18\x05 \x03(\x0b\x32\x39.google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance:\x02\x18\x01:\x8e\x01\x18\x01\xea\x41\x88\x01\n4osconfig.googleapis.com/InstanceOSPoliciesCompliance\x12Pprojects/{project}/locations/{location}/instanceOSPoliciesCompliances/{instance}\"y\n&GetInstanceOSPoliciesComplianceRequest\x12K\n\x04name\x18\x01 \x01(\tB=\xe2\x41\x01\x02\xfa\x41\x36\n4osconfig.googleapis.com/InstanceOSPoliciesCompliance:\x02\x18\x01\"\xa1\x01\n(ListInstanceOSPoliciesCompliancesRequest\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\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t:\x02\x18\x01\"\xaf\x01\n)ListInstanceOSPoliciesCompliancesResponse\x12\x65\n instance_os_policies_compliances\x18\x01 \x03(\x0b\x32;.google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t:\x02\x18\x01\x42\xea\x01\n!com.google.cloud.osconfig.v1alphaB!InstanceOSPoliciesComplianceProtoP\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.protobuf.Timestamp", "google/protobuf/timestamp.proto"], ["google.cloud.osconfig.v1alpha.OSPolicyResourceCompliance", "google/cloud/osconfig/v1alpha/config_common.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 InstanceOSPoliciesCompliance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance").msgclass InstanceOSPoliciesCompliance::OSPolicyCompliance = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.InstanceOSPoliciesCompliance.OSPolicyCompliance").msgclass GetInstanceOSPoliciesComplianceRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.GetInstanceOSPoliciesComplianceRequest").msgclass ListInstanceOSPoliciesCompliancesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesRequest").msgclass ListInstanceOSPoliciesCompliancesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.osconfig.v1alpha.ListInstanceOSPoliciesCompliancesResponse").msgclass end end end end