...

Source file src/google.golang.org/genproto/googleapis/iam/v1/logging/audit_data.pb.go

Documentation: google.golang.org/genproto/googleapis/iam/v1/logging

     1  // Copyright 2017 Google Inc.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.26.0
    18  // 	protoc        v3.12.2
    19  // source: google/iam/v1/logging/audit_data.proto
    20  
    21  package logging
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	v1 "google.golang.org/genproto/googleapis/iam/v1"
    28  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    29  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    30  )
    31  
    32  const (
    33  	// Verify that this generated code is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    35  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    37  )
    38  
    39  // Audit log information specific to Cloud IAM. This message is serialized
    40  // as an `Any` type in the `ServiceData` message of an
    41  // `AuditLog` message.
    42  type AuditData struct {
    43  	state         protoimpl.MessageState
    44  	sizeCache     protoimpl.SizeCache
    45  	unknownFields protoimpl.UnknownFields
    46  
    47  	// Policy delta between the original policy and the newly set policy.
    48  	PolicyDelta *v1.PolicyDelta `protobuf:"bytes,2,opt,name=policy_delta,json=policyDelta,proto3" json:"policy_delta,omitempty"`
    49  }
    50  
    51  func (x *AuditData) Reset() {
    52  	*x = AuditData{}
    53  	if protoimpl.UnsafeEnabled {
    54  		mi := &file_google_iam_v1_logging_audit_data_proto_msgTypes[0]
    55  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    56  		ms.StoreMessageInfo(mi)
    57  	}
    58  }
    59  
    60  func (x *AuditData) String() string {
    61  	return protoimpl.X.MessageStringOf(x)
    62  }
    63  
    64  func (*AuditData) ProtoMessage() {}
    65  
    66  func (x *AuditData) ProtoReflect() protoreflect.Message {
    67  	mi := &file_google_iam_v1_logging_audit_data_proto_msgTypes[0]
    68  	if protoimpl.UnsafeEnabled && x != nil {
    69  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    70  		if ms.LoadMessageInfo() == nil {
    71  			ms.StoreMessageInfo(mi)
    72  		}
    73  		return ms
    74  	}
    75  	return mi.MessageOf(x)
    76  }
    77  
    78  // Deprecated: Use AuditData.ProtoReflect.Descriptor instead.
    79  func (*AuditData) Descriptor() ([]byte, []int) {
    80  	return file_google_iam_v1_logging_audit_data_proto_rawDescGZIP(), []int{0}
    81  }
    82  
    83  func (x *AuditData) GetPolicyDelta() *v1.PolicyDelta {
    84  	if x != nil {
    85  		return x.PolicyDelta
    86  	}
    87  	return nil
    88  }
    89  
    90  var File_google_iam_v1_logging_audit_data_proto protoreflect.FileDescriptor
    91  
    92  var file_google_iam_v1_logging_audit_data_proto_rawDesc = []byte{
    93  	0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f,
    94  	0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x5f, 0x64, 0x61,
    95  	0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
    96  	0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x1a,
    97  	0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x69, 0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x70,
    98  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x09, 0x41,
    99  	0x75, 0x64, 0x69, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x3d, 0x0a, 0x0c, 0x70, 0x6f, 0x6c, 0x69,
   100  	0x63, 0x79, 0x5f, 0x64, 0x65, 0x6c, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
   101  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x50,
   102  	0x6f, 0x6c, 0x69, 0x63, 0x79, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x52, 0x0b, 0x70, 0x6f, 0x6c, 0x69,
   103  	0x63, 0x79, 0x44, 0x65, 0x6c, 0x74, 0x61, 0x42, 0x89, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e,
   104  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x69, 0x61, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x6c, 0x6f,
   105  	0x67, 0x67, 0x69, 0x6e, 0x67, 0x42, 0x0e, 0x41, 0x75, 0x64, 0x69, 0x74, 0x44, 0x61, 0x74, 0x61,
   106  	0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x3c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   107  	0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
   108  	0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x69,
   109  	0x61, 0x6d, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x3b, 0x6c, 0x6f,
   110  	0x67, 0x67, 0x69, 0x6e, 0x67, 0xaa, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43,
   111  	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x49, 0x61, 0x6d, 0x2e, 0x56, 0x31, 0x2e, 0x4c, 0x6f, 0x67, 0x67,
   112  	0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   113  }
   114  
   115  var (
   116  	file_google_iam_v1_logging_audit_data_proto_rawDescOnce sync.Once
   117  	file_google_iam_v1_logging_audit_data_proto_rawDescData = file_google_iam_v1_logging_audit_data_proto_rawDesc
   118  )
   119  
   120  func file_google_iam_v1_logging_audit_data_proto_rawDescGZIP() []byte {
   121  	file_google_iam_v1_logging_audit_data_proto_rawDescOnce.Do(func() {
   122  		file_google_iam_v1_logging_audit_data_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_iam_v1_logging_audit_data_proto_rawDescData)
   123  	})
   124  	return file_google_iam_v1_logging_audit_data_proto_rawDescData
   125  }
   126  
   127  var file_google_iam_v1_logging_audit_data_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   128  var file_google_iam_v1_logging_audit_data_proto_goTypes = []interface{}{
   129  	(*AuditData)(nil),      // 0: google.iam.v1.logging.AuditData
   130  	(*v1.PolicyDelta)(nil), // 1: google.iam.v1.PolicyDelta
   131  }
   132  var file_google_iam_v1_logging_audit_data_proto_depIdxs = []int32{
   133  	1, // 0: google.iam.v1.logging.AuditData.policy_delta:type_name -> google.iam.v1.PolicyDelta
   134  	1, // [1:1] is the sub-list for method output_type
   135  	1, // [1:1] is the sub-list for method input_type
   136  	1, // [1:1] is the sub-list for extension type_name
   137  	1, // [1:1] is the sub-list for extension extendee
   138  	0, // [0:1] is the sub-list for field type_name
   139  }
   140  
   141  func init() { file_google_iam_v1_logging_audit_data_proto_init() }
   142  func file_google_iam_v1_logging_audit_data_proto_init() {
   143  	if File_google_iam_v1_logging_audit_data_proto != nil {
   144  		return
   145  	}
   146  	if !protoimpl.UnsafeEnabled {
   147  		file_google_iam_v1_logging_audit_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   148  			switch v := v.(*AuditData); i {
   149  			case 0:
   150  				return &v.state
   151  			case 1:
   152  				return &v.sizeCache
   153  			case 2:
   154  				return &v.unknownFields
   155  			default:
   156  				return nil
   157  			}
   158  		}
   159  	}
   160  	type x struct{}
   161  	out := protoimpl.TypeBuilder{
   162  		File: protoimpl.DescBuilder{
   163  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   164  			RawDescriptor: file_google_iam_v1_logging_audit_data_proto_rawDesc,
   165  			NumEnums:      0,
   166  			NumMessages:   1,
   167  			NumExtensions: 0,
   168  			NumServices:   0,
   169  		},
   170  		GoTypes:           file_google_iam_v1_logging_audit_data_proto_goTypes,
   171  		DependencyIndexes: file_google_iam_v1_logging_audit_data_proto_depIdxs,
   172  		MessageInfos:      file_google_iam_v1_logging_audit_data_proto_msgTypes,
   173  	}.Build()
   174  	File_google_iam_v1_logging_audit_data_proto = out.File
   175  	file_google_iam_v1_logging_audit_data_proto_rawDesc = nil
   176  	file_google_iam_v1_logging_audit_data_proto_goTypes = nil
   177  	file_google_iam_v1_logging_audit_data_proto_depIdxs = nil
   178  }
   179  

View as plain text