diff --git a/generation_config.yaml b/generation_config.yaml index 08e4c37c00..4146aa220b 100644 --- a/generation_config.yaml +++ b/generation_config.yaml @@ -1,4 +1,4 @@ -googleapis_commitish: fbbbf5023815f9a662c85aa8af8f3b72467fcb6f +googleapis_commitish: 66ab6ceb69178f5368b130949eaf518b7c28352f # the libraries are ordered with respect to library name, which is # java-{library.library_name} or java-{library.api-shortname} when # library.library_name is not defined. diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java index 1539f8e10a..053f12cc0f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuditLogProto.java @@ -115,50 +115,55 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "key_name\030\005 \001(\t\022Y\n\037service_account_delega" + "tion_info\030\006 \003(\01320.google.cloud.audit.Ser" + "viceAccountDelegationInfo\022\031\n\021principal_s" - + "ubject\030\010 \001(\t\"\226\001\n\021AuthorizationInfo\022\020\n\010re" + + "ubject\030\010 \001(\t\"\330\002\n\021AuthorizationInfo\022\020\n\010re" + "source\030\001 \001(\t\022\022\n\npermission\030\002 \001(\t\022\017\n\007gran" + "ted\030\003 \001(\010\022J\n\023resource_attributes\030\005 \001(\0132-" + ".google.rpc.context.AttributeContext.Res" - + "ource\"\365\001\n\017RequestMetadata\022\021\n\tcaller_ip\030\001" - + " \001(\t\022\"\n\032caller_supplied_user_agent\030\002 \001(\t" - + "\022\026\n\016caller_network\030\003 \001(\t\022H\n\022request_attr" - + "ibutes\030\007 \001(\0132,.google.rpc.context.Attrib" - + "uteContext.Request\022I\n\026destination_attrib" - + "utes\030\010 \001(\0132).google.rpc.context.Attribut" - + "eContext.Peer\"I\n\020ResourceLocation\022\031\n\021cur" - + "rent_locations\030\001 \003(\t\022\032\n\022original_locatio" - + "ns\030\002 \003(\t\"\303\003\n\034ServiceAccountDelegationInf" - + "o\022\031\n\021principal_subject\030\003 \001(\t\022e\n\025first_pa" - + "rty_principal\030\001 \001(\0132D.google.cloud.audit" - + ".ServiceAccountDelegationInfo.FirstParty" - + "PrincipalH\000\022e\n\025third_party_principal\030\002 \001" - + "(\0132D.google.cloud.audit.ServiceAccountDe" - + "legationInfo.ThirdPartyPrincipalH\000\032a\n\023Fi" - + "rstPartyPrincipal\022\027\n\017principal_email\030\001 \001" - + "(\t\0221\n\020service_metadata\030\002 \001(\0132\027.google.pr" - + "otobuf.Struct\032J\n\023ThirdPartyPrincipal\0223\n\022" - + "third_party_claims\030\001 \001(\0132\027.google.protob" - + "uf.StructB\013\n\tAuthority\"d\n\023PolicyViolatio" - + "nInfo\022M\n\031org_policy_violation_info\030\001 \001(\013" - + "2*.google.cloud.audit.OrgPolicyViolation" - + "Info\"\262\002\n\026OrgPolicyViolationInfo\022-\n\007paylo" - + "ad\030\001 \001(\0132\027.google.protobuf.StructB\003\340A\001\022\032" - + "\n\rresource_type\030\002 \001(\tB\003\340A\001\022X\n\rresource_t" - + "ags\030\003 \003(\0132<.google.cloud.audit.OrgPolicy" - + "ViolationInfo.ResourceTagsEntryB\003\340A\001\022>\n\016" - + "violation_info\030\004 \003(\0132!.google.cloud.audi" - + "t.ViolationInfoB\003\340A\001\0323\n\021ResourceTagsEntr" - + "y\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\227\002\n\rVi" - + "olationInfo\022\027\n\nconstraint\030\001 \001(\tB\003\340A\001\022\032\n\r" - + "error_message\030\002 \001(\tB\003\340A\001\022\032\n\rchecked_valu" - + "e\030\003 \001(\tB\003\340A\001\022F\n\013policy_type\030\004 \001(\0162,.goog" - + "le.cloud.audit.ViolationInfo.PolicyTypeB" - + "\003\340A\001\"m\n\nPolicyType\022\033\n\027POLICY_TYPE_UNSPEC" - + "IFIED\020\000\022\026\n\022BOOLEAN_CONSTRAINT\020\001\022\023\n\017LIST_" - + "CONSTRAINT\020\002\022\025\n\021CUSTOM_CONSTRAINT\020\003Be\n\026c" - + "om.google.cloud.auditB\rAuditLogProtoP\001Z7" - + "google.golang.org/genproto/googleapis/cl" - + "oud/audit;audit\370\001\001b\006proto3" + + "ource\022M\n\017permission_type\030\007 \001(\01624.google." + + "cloud.audit.AuthorizationInfo.Permission" + + "Type\"q\n\016PermissionType\022\037\n\033PERMISSION_TYP" + + "E_UNSPECIFIED\020\000\022\016\n\nADMIN_READ\020\001\022\017\n\013ADMIN" + + "_WRITE\020\002\022\r\n\tDATA_READ\020\003\022\016\n\nDATA_WRITE\020\004\"" + + "\365\001\n\017RequestMetadata\022\021\n\tcaller_ip\030\001 \001(\t\022\"" + + "\n\032caller_supplied_user_agent\030\002 \001(\t\022\026\n\016ca" + + "ller_network\030\003 \001(\t\022H\n\022request_attributes" + + "\030\007 \001(\0132,.google.rpc.context.AttributeCon" + + "text.Request\022I\n\026destination_attributes\030\010" + + " \001(\0132).google.rpc.context.AttributeConte" + + "xt.Peer\"I\n\020ResourceLocation\022\031\n\021current_l" + + "ocations\030\001 \003(\t\022\032\n\022original_locations\030\002 \003" + + "(\t\"\303\003\n\034ServiceAccountDelegationInfo\022\031\n\021p" + + "rincipal_subject\030\003 \001(\t\022e\n\025first_party_pr" + + "incipal\030\001 \001(\0132D.google.cloud.audit.Servi" + + "ceAccountDelegationInfo.FirstPartyPrinci" + + "palH\000\022e\n\025third_party_principal\030\002 \001(\0132D.g" + + "oogle.cloud.audit.ServiceAccountDelegati" + + "onInfo.ThirdPartyPrincipalH\000\032a\n\023FirstPar" + + "tyPrincipal\022\027\n\017principal_email\030\001 \001(\t\0221\n\020" + + "service_metadata\030\002 \001(\0132\027.google.protobuf" + + ".Struct\032J\n\023ThirdPartyPrincipal\0223\n\022third_" + + "party_claims\030\001 \001(\0132\027.google.protobuf.Str" + + "uctB\013\n\tAuthority\"d\n\023PolicyViolationInfo\022" + + "M\n\031org_policy_violation_info\030\001 \001(\0132*.goo" + + "gle.cloud.audit.OrgPolicyViolationInfo\"\262" + + "\002\n\026OrgPolicyViolationInfo\022-\n\007payload\030\001 \001" + + "(\0132\027.google.protobuf.StructB\003\340A\001\022\032\n\rreso" + + "urce_type\030\002 \001(\tB\003\340A\001\022X\n\rresource_tags\030\003 " + + "\003(\0132<.google.cloud.audit.OrgPolicyViolat" + + "ionInfo.ResourceTagsEntryB\003\340A\001\022>\n\016violat" + + "ion_info\030\004 \003(\0132!.google.cloud.audit.Viol" + + "ationInfoB\003\340A\001\0323\n\021ResourceTagsEntry\022\013\n\003k" + + "ey\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\227\002\n\rViolatio" + + "nInfo\022\027\n\nconstraint\030\001 \001(\tB\003\340A\001\022\032\n\rerror_" + + "message\030\002 \001(\tB\003\340A\001\022\032\n\rchecked_value\030\003 \001(" + + "\tB\003\340A\001\022F\n\013policy_type\030\004 \001(\0162,.google.clo" + + "ud.audit.ViolationInfo.PolicyTypeB\003\340A\001\"m" + + "\n\nPolicyType\022\033\n\027POLICY_TYPE_UNSPECIFIED\020" + + "\000\022\026\n\022BOOLEAN_CONSTRAINT\020\001\022\023\n\017LIST_CONSTR" + + "AINT\020\002\022\025\n\021CUSTOM_CONSTRAINT\020\003Be\n\026com.goo" + + "gle.cloud.auditB\rAuditLogProtoP\001Z7google" + + ".golang.org/genproto/googleapis/cloud/au" + + "dit;audit\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( @@ -211,7 +216,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_google_cloud_audit_AuthorizationInfo_descriptor, new java.lang.String[] { - "Resource", "Permission", "Granted", "ResourceAttributes", + "Resource", "Permission", "Granted", "ResourceAttributes", "PermissionType", }); internal_static_google_cloud_audit_RequestMetadata_descriptor = getDescriptor().getMessageTypes().get(3); diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfo.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfo.java index 5da090f4c4..51ed08939e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfo.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfo.java @@ -41,6 +41,7 @@ private AuthorizationInfo(com.google.protobuf.GeneratedMessageV3.Builder buil private AuthorizationInfo() { resource_ = ""; permission_ = ""; + permissionType_ = 0; } @java.lang.Override @@ -64,6 +65,207 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { com.google.cloud.audit.AuthorizationInfo.Builder.class); } + /** + * + * + *
+   * The list of valid permission types that can be checked.
+   * 
+ * + * Protobuf enum {@code google.cloud.audit.AuthorizationInfo.PermissionType} + */ + public enum PermissionType implements com.google.protobuf.ProtocolMessageEnum { + /** + * + * + *
+     * Default. Should not be used.
+     * 
+ * + * PERMISSION_TYPE_UNSPECIFIED = 0; + */ + PERMISSION_TYPE_UNSPECIFIED(0), + /** + * + * + *
+     * Permissions that gate reading resource configuration or metadata.
+     * 
+ * + * ADMIN_READ = 1; + */ + ADMIN_READ(1), + /** + * + * + *
+     * Permissions that gate modification of resource configuration or metadata.
+     * 
+ * + * ADMIN_WRITE = 2; + */ + ADMIN_WRITE(2), + /** + * + * + *
+     * Permissions that gate reading user-provided data.
+     * 
+ * + * DATA_READ = 3; + */ + DATA_READ(3), + /** + * + * + *
+     * Permissions that gate writing user-provided data.
+     * 
+ * + * DATA_WRITE = 4; + */ + DATA_WRITE(4), + UNRECOGNIZED(-1), + ; + + /** + * + * + *
+     * Default. Should not be used.
+     * 
+ * + * PERMISSION_TYPE_UNSPECIFIED = 0; + */ + public static final int PERMISSION_TYPE_UNSPECIFIED_VALUE = 0; + /** + * + * + *
+     * Permissions that gate reading resource configuration or metadata.
+     * 
+ * + * ADMIN_READ = 1; + */ + public static final int ADMIN_READ_VALUE = 1; + /** + * + * + *
+     * Permissions that gate modification of resource configuration or metadata.
+     * 
+ * + * ADMIN_WRITE = 2; + */ + public static final int ADMIN_WRITE_VALUE = 2; + /** + * + * + *
+     * Permissions that gate reading user-provided data.
+     * 
+ * + * DATA_READ = 3; + */ + public static final int DATA_READ_VALUE = 3; + /** + * + * + *
+     * Permissions that gate writing user-provided data.
+     * 
+ * + * DATA_WRITE = 4; + */ + public static final int DATA_WRITE_VALUE = 4; + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static PermissionType valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static PermissionType forNumber(int value) { + switch (value) { + case 0: + return PERMISSION_TYPE_UNSPECIFIED; + case 1: + return ADMIN_READ; + case 2: + return ADMIN_WRITE; + case 3: + return DATA_READ; + case 4: + return DATA_WRITE; + default: + return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { + return internalValueMap; + } + + private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public PermissionType findValueByNumber(int number) { + return PermissionType.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalStateException( + "Can't get the descriptor of an unrecognized enum value."); + } + return getDescriptor().getValues().get(ordinal()); + } + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + return getDescriptor(); + } + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.audit.AuthorizationInfo.getDescriptor().getEnumTypes().get(0); + } + + private static final PermissionType[] VALUES = values(); + + public static PermissionType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private PermissionType(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.audit.AuthorizationInfo.PermissionType) + } + private int bitField0_; public static final int RESOURCE_FIELD_NUMBER = 1; @@ -262,6 +464,47 @@ public com.google.rpc.context.AttributeContext.Resource getResourceAttributes() : resourceAttributes_; } + public static final int PERMISSION_TYPE_FIELD_NUMBER = 7; + private int permissionType_ = 0; + /** + * + * + *
+   * The type of the permission that was checked. For data access audit logs
+   * this corresponds with the permission type that must be enabled in the
+   * project/folder/organization IAM policy in order for the log to be written.
+   * 
+ * + * .google.cloud.audit.AuthorizationInfo.PermissionType permission_type = 7; + * + * @return The enum numeric value on the wire for permissionType. + */ + @java.lang.Override + public int getPermissionTypeValue() { + return permissionType_; + } + /** + * + * + *
+   * The type of the permission that was checked. For data access audit logs
+   * this corresponds with the permission type that must be enabled in the
+   * project/folder/organization IAM policy in order for the log to be written.
+   * 
+ * + * .google.cloud.audit.AuthorizationInfo.PermissionType permission_type = 7; + * + * @return The permissionType. + */ + @java.lang.Override + public com.google.cloud.audit.AuthorizationInfo.PermissionType getPermissionType() { + com.google.cloud.audit.AuthorizationInfo.PermissionType result = + com.google.cloud.audit.AuthorizationInfo.PermissionType.forNumber(permissionType_); + return result == null + ? com.google.cloud.audit.AuthorizationInfo.PermissionType.UNRECOGNIZED + : result; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -288,6 +531,11 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(5, getResourceAttributes()); } + if (permissionType_ + != com.google.cloud.audit.AuthorizationInfo.PermissionType.PERMISSION_TYPE_UNSPECIFIED + .getNumber()) { + output.writeEnum(7, permissionType_); + } getUnknownFields().writeTo(output); } @@ -309,6 +557,11 @@ public int getSerializedSize() { if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream.computeMessageSize(5, getResourceAttributes()); } + if (permissionType_ + != com.google.cloud.audit.AuthorizationInfo.PermissionType.PERMISSION_TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(7, permissionType_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -331,6 +584,7 @@ public boolean equals(final java.lang.Object obj) { if (hasResourceAttributes()) { if (!getResourceAttributes().equals(other.getResourceAttributes())) return false; } + if (permissionType_ != other.permissionType_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -352,6 +606,8 @@ public int hashCode() { hash = (37 * hash) + RESOURCE_ATTRIBUTES_FIELD_NUMBER; hash = (53 * hash) + getResourceAttributes().hashCode(); } + hash = (37 * hash) + PERMISSION_TYPE_FIELD_NUMBER; + hash = (53 * hash) + permissionType_; hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -508,6 +764,7 @@ public Builder clear() { resourceAttributesBuilder_.dispose(); resourceAttributesBuilder_ = null; } + permissionType_ = 0; return this; } @@ -561,6 +818,9 @@ private void buildPartial0(com.google.cloud.audit.AuthorizationInfo result) { : resourceAttributesBuilder_.build(); to_bitField0_ |= 0x00000001; } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.permissionType_ = permissionType_; + } result.bitField0_ |= to_bitField0_; } @@ -625,6 +885,9 @@ public Builder mergeFrom(com.google.cloud.audit.AuthorizationInfo other) { if (other.hasResourceAttributes()) { mergeResourceAttributes(other.getResourceAttributes()); } + if (other.permissionType_ != 0) { + setPermissionTypeValue(other.getPermissionTypeValue()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -676,6 +939,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000008; break; } // case 42 + case 56: + { + permissionType_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 56 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -1221,6 +1490,109 @@ public com.google.rpc.context.AttributeContext.Resource.Builder getResourceAttri return resourceAttributesBuilder_; } + private int permissionType_ = 0; + /** + * + * + *
+     * The type of the permission that was checked. For data access audit logs
+     * this corresponds with the permission type that must be enabled in the
+     * project/folder/organization IAM policy in order for the log to be written.
+     * 
+ * + * .google.cloud.audit.AuthorizationInfo.PermissionType permission_type = 7; + * + * @return The enum numeric value on the wire for permissionType. + */ + @java.lang.Override + public int getPermissionTypeValue() { + return permissionType_; + } + /** + * + * + *
+     * The type of the permission that was checked. For data access audit logs
+     * this corresponds with the permission type that must be enabled in the
+     * project/folder/organization IAM policy in order for the log to be written.
+     * 
+ * + * .google.cloud.audit.AuthorizationInfo.PermissionType permission_type = 7; + * + * @param value The enum numeric value on the wire for permissionType to set. + * @return This builder for chaining. + */ + public Builder setPermissionTypeValue(int value) { + permissionType_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + * + * + *
+     * The type of the permission that was checked. For data access audit logs
+     * this corresponds with the permission type that must be enabled in the
+     * project/folder/organization IAM policy in order for the log to be written.
+     * 
+ * + * .google.cloud.audit.AuthorizationInfo.PermissionType permission_type = 7; + * + * @return The permissionType. + */ + @java.lang.Override + public com.google.cloud.audit.AuthorizationInfo.PermissionType getPermissionType() { + com.google.cloud.audit.AuthorizationInfo.PermissionType result = + com.google.cloud.audit.AuthorizationInfo.PermissionType.forNumber(permissionType_); + return result == null + ? com.google.cloud.audit.AuthorizationInfo.PermissionType.UNRECOGNIZED + : result; + } + /** + * + * + *
+     * The type of the permission that was checked. For data access audit logs
+     * this corresponds with the permission type that must be enabled in the
+     * project/folder/organization IAM policy in order for the log to be written.
+     * 
+ * + * .google.cloud.audit.AuthorizationInfo.PermissionType permission_type = 7; + * + * @param value The permissionType to set. + * @return This builder for chaining. + */ + public Builder setPermissionType( + com.google.cloud.audit.AuthorizationInfo.PermissionType value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + permissionType_ = value.getNumber(); + onChanged(); + return this; + } + /** + * + * + *
+     * The type of the permission that was checked. For data access audit logs
+     * this corresponds with the permission type that must be enabled in the
+     * project/folder/organization IAM policy in order for the log to be written.
+     * 
+ * + * .google.cloud.audit.AuthorizationInfo.PermissionType permission_type = 7; + * + * @return This builder for chaining. + */ + public Builder clearPermissionType() { + bitField0_ = (bitField0_ & ~0x00000010); + permissionType_ = 0; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfoOrBuilder.java b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfoOrBuilder.java index 1a5407f553..fdd77d91c1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfoOrBuilder.java +++ b/java-common-protos/proto-google-common-protos/src/main/java/com/google/cloud/audit/AuthorizationInfoOrBuilder.java @@ -147,4 +147,33 @@ public interface AuthorizationInfoOrBuilder * .google.rpc.context.AttributeContext.Resource resource_attributes = 5; */ com.google.rpc.context.AttributeContext.ResourceOrBuilder getResourceAttributesOrBuilder(); + + /** + * + * + *
+   * The type of the permission that was checked. For data access audit logs
+   * this corresponds with the permission type that must be enabled in the
+   * project/folder/organization IAM policy in order for the log to be written.
+   * 
+ * + * .google.cloud.audit.AuthorizationInfo.PermissionType permission_type = 7; + * + * @return The enum numeric value on the wire for permissionType. + */ + int getPermissionTypeValue(); + /** + * + * + *
+   * The type of the permission that was checked. For data access audit logs
+   * this corresponds with the permission type that must be enabled in the
+   * project/folder/organization IAM policy in order for the log to be written.
+   * 
+ * + * .google.cloud.audit.AuthorizationInfo.PermissionType permission_type = 7; + * + * @return The permissionType. + */ + com.google.cloud.audit.AuthorizationInfo.PermissionType getPermissionType(); } diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/annotations.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/annotations.proto index 84c48164aa..417edd8fa1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/annotations.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/annotations.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/auth.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/auth.proto index 19d5924bb7..cb640bd68c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/auth.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/auth.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/backend.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/backend.proto index 499737a3e4..8d2206e535 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/backend.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/backend.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/billing.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/billing.proto index 234f518fd2..7c82274229 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/billing.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/billing.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto index 2130a8a829..3d692560ab 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/client.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/config_change.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/config_change.proto index 8bbe913784..c1cc0e8b05 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/config_change.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/config_change.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/consumer.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/consumer.proto index d63a2d7a0f..303604900b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/consumer.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/consumer.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/context.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/context.proto index ec76a47f8a..5b137f5f79 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/context.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/context.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/control.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/control.proto index a5b8243456..ce3f2871d7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/control.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/control.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/distribution.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/distribution.proto index 7e0d329026..215be7d364 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/distribution.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/distribution.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/documentation.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/documentation.proto index c56d83502f..b94a06d473 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/documentation.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/documentation.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/endpoint.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/endpoint.proto index 07c1b4f058..a9fa9992a4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/endpoint.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/endpoint.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/error_reason.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/error_reason.proto index e442c7b305..030888ae33 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/error_reason.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/error_reason.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/field_behavior.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/field_behavior.proto index 2865ba0537..1fdaaed11a 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/field_behavior.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/field_behavior.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/field_info.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/field_info.proto index 2cc0876d75..aaa07a1815 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/field_info.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/field_info.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/http.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/http.proto index 448a226a2c..57621b5374 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/http.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/http.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/httpbody.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/httpbody.proto index 32952715de..e3e17c8acb 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/httpbody.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/httpbody.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/label.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/label.proto index 3cd5ee29d0..739e4e95ed 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/label.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/label.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/launch_stage.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/launch_stage.proto index 9863fc23d4..1e86c1ad17 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/launch_stage.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/launch_stage.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/log.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/log.proto index 5a458e77e5..3d55e408be 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/log.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/log.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/logging.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/logging.proto index ccefb12014..613e005ed5 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/logging.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/logging.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/metric.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/metric.proto index c393a421c5..9da49ba0cd 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/metric.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/metric.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitored_resource.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitored_resource.proto index e6d55b625b..36abe14ca0 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitored_resource.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitored_resource.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitoring.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitoring.proto index 3bac622dc6..5c3b2d9d90 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitoring.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/monitoring.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/policy.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/policy.proto index 82ace491e1..cc577a169b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/policy.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/policy.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/quota.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/quota.proto index 25adb344cd..9e7fb3bf65 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/quota.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/quota.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/resource.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/resource.proto index a2e694ef56..5669cbc985 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/resource.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/resource.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/routing.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/routing.proto index a08ac7fea5..4fcb2acb6c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/routing.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/routing.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/service.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/service.proto index 48e9ef0b9c..598b75a0e4 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/service.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/service.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/source_info.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/source_info.proto index c9b1c9a16a..3257b5a722 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/source_info.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/source_info.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/system_parameter.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/system_parameter.proto index 4eb4f4782e..15b93f913e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/system_parameter.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/system_parameter.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/usage.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/usage.proto index 5c6d6d81c7..4b7aa5fdf2 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/usage.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/usage.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/visibility.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/visibility.proto index 80b509a24f..0ab5bdc1c9 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/api/visibility.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/api/visibility.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/apps/card/v1/card.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/apps/card/v1/card.proto index fbc5b3c49b..cbeda8e6e7 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/apps/card/v1/card.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/apps/card/v1/card.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/cloud/audit/audit_log.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/cloud/audit/audit_log.proto index 2a65ca661a..c43d605306 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/cloud/audit/audit_log.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/cloud/audit/audit_log.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -152,6 +152,24 @@ message AuthenticationInfo { // Authorization information for the operation. message AuthorizationInfo { + // The list of valid permission types that can be checked. + enum PermissionType { + // Default. Should not be used. + PERMISSION_TYPE_UNSPECIFIED = 0; + + // Permissions that gate reading resource configuration or metadata. + ADMIN_READ = 1; + + // Permissions that gate modification of resource configuration or metadata. + ADMIN_WRITE = 2; + + // Permissions that gate reading user-provided data. + DATA_READ = 3; + + // Permissions that gate writing user-provided data. + DATA_WRITE = 4; + } + // The resource being accessed, as a REST-style or cloud resource string. // For example: // @@ -174,6 +192,11 @@ message AuthorizationInfo { // condition evaluation, the user must also look into // `AuditLog.request_metadata.request_attributes`. google.rpc.context.AttributeContext.Resource resource_attributes = 5; + + // The type of the permission that was checked. For data access audit logs + // this corresponds with the permission type that must be enabled in the + // project/folder/organization IAM policy in order for the log to be written. + PermissionType permission_type = 7; } // Metadata about the request. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/cloud/extended_operations.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/cloud/extended_operations.proto index 2f86c3745d..69f44ddac8 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/cloud/extended_operations.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/cloud/extended_operations.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/cloud/location/locations.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/cloud/location/locations.proto index 12de2aeb47..36a0b0e89d 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/cloud/location/locations.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/cloud/location/locations.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/geo/type/viewport.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/geo/type/viewport.proto index df68a32405..08c0cce8cf 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/geo/type/viewport.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/geo/type/viewport.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/logging/type/http_request.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/logging/type/http_request.proto index fa2dd64e83..b31522b69c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/logging/type/http_request.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/logging/type/http_request.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/logging/type/log_severity.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/logging/type/log_severity.proto index 96ff874688..406b8173a3 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/logging/type/log_severity.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/logging/type/log_severity.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/longrunning/operations.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/longrunning/operations.proto index bb42620b73..e0206a9061 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/longrunning/operations.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/longrunning/operations.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/code.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/code.proto index ba8f2bf9eb..aa6ce15378 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/code.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/code.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/context/attribute_context.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/context/attribute_context.proto index 353b28ab3e..5727660091 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/context/attribute_context.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/context/attribute_context.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/context/audit_context.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/context/audit_context.proto index 8635515ec4..fddfab22a2 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/context/audit_context.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/context/audit_context.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/error_details.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/error_details.proto index 776a9d3513..46ef5b864e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/error_details.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/error_details.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/status.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/status.proto index 90b70ddf91..dc14c9438c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/status.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/rpc/status.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/shopping/type/types.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/shopping/type/types.proto index 0d219e72d6..641bcf066c 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/shopping/type/types.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/shopping/type/types.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/calendar_period.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/calendar_period.proto index 25a8f64413..57d360add3 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/calendar_period.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/calendar_period.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/color.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/color.proto index 3e57c1fb29..26508db9fc 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/color.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/color.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/date.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/date.proto index 6370cd8690..6f63436e5e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/date.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/date.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/datetime.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/datetime.proto index a363a41ef2..9f0d62b069 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/datetime.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/datetime.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/dayofweek.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/dayofweek.proto index e16c19469d..5684bec35e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/dayofweek.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/dayofweek.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/decimal.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/decimal.proto index 293d082731..77a06db0e5 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/decimal.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/decimal.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/expr.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/expr.proto index 544e668748..97c4f7da0f 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/expr.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/expr.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/fraction.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/fraction.proto index 06f0723224..b3b0d0f380 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/fraction.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/fraction.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/interval.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/interval.proto index fcf94c8664..d9b2427145 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/interval.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/interval.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/latlng.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/latlng.proto index daeba48b4c..6714f65bd5 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/latlng.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/latlng.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/localized_text.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/localized_text.proto index 82d083c43d..3971e81116 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/localized_text.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/localized_text.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/money.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/money.proto index c610943360..f67aa51f0e 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/money.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/money.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/month.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/month.proto index 19982cb514..169282ae98 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/month.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/month.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/phone_number.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/phone_number.proto index 370d1623de..23dbc6bdf1 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/phone_number.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/phone_number.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/postal_address.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/postal_address.proto index 7023a9b3e8..e58d5c3504 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/postal_address.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/postal_address.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/quaternion.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/quaternion.proto index 416de30cfe..18c7b74255 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/quaternion.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/quaternion.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/timeofday.proto b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/timeofday.proto index 3735745a49..cd6a80574b 100644 --- a/java-common-protos/proto-google-common-protos/src/main/proto/google/type/timeofday.proto +++ b/java-common-protos/proto-google-common-protos/src/main/proto/google/type/timeofday.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto index 0841d99596..a123ab8411 100644 --- a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto +++ b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/iam_policy.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/logging/audit_data.proto b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/logging/audit_data.proto index ccafe0487b..4952ef4e08 100644 --- a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/logging/audit_data.proto +++ b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/logging/audit_data.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/options.proto b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/options.proto index 5334962a1f..5337058794 100644 --- a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/options.proto +++ b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/options.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto index 9bff39ac73..b5eac03c44 100644 --- a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto +++ b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/policy.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/resource_policy_member.proto b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/resource_policy_member.proto index 8f9aae60d4..16eefacec5 100644 --- a/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/resource_policy_member.proto +++ b/java-iam/proto-google-iam-v1/src/main/proto/google/iam/v1/resource_policy_member.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/deny.proto b/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/deny.proto index 2f402872cb..9d4dc4b5e2 100644 --- a/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/deny.proto +++ b/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/deny.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto b/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto index e732fa24bf..7b34d8259b 100644 --- a/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto +++ b/java-iam/proto-google-iam-v2/src/main/proto/google/iam/v2/policy.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto b/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto index 56dd64fc95..2ff6b74467 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto +++ b/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/deny.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto b/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto index f96e4b508c..7c3fa35f66 100644 --- a/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto +++ b/java-iam/proto-google-iam-v2beta/src/main/proto/google/iam/v2beta/policy.proto @@ -1,4 +1,4 @@ -// Copyright 2024 Google LLC +// Copyright 2025 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.