Skip to content

Commit

Permalink
feat(ospf): fix lint errors for --disable-rule=client-libraries::4232…
Browse files Browse the repository at this point in the history
…::required-fields

Clean up lint errors when option is removed.

Signed-off-by: Keith Wiles <[email protected]>
  • Loading branch information
KeithWiles authored and sandersms committed Aug 8, 2024
1 parent 0be286e commit 672afb7
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions network/cloud/cloudrpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -2368,15 +2368,13 @@ message CreateOspfIfNetworkRequest {

// Update OspfIfNetwork request
message UpdateOspfIfNetworkRequest {
// name
string name = 1 [
(google.api.field_behavior) = REQUIRED,
(google.api.resource_reference).type = "OspfIfNetwork"
];
// updated OSPF IfNetwork information
OspfIfNetwork ospf_if_network = 2 [(google.api.field_behavior) = REQUIRED];
OspfIfNetwork ospf_if_network = 1 [(google.api.field_behavior) = REQUIRED];
// list of fields to update.
google.protobuf.FieldMask update_mask = 3 [(google.api.field_behavior) = OPTIONAL];
google.protobuf.FieldMask update_mask = 2 [(google.api.field_behavior) = OPTIONAL];
// If set to true, and the object is not found, a new object will be created.
// In this situation, `update_mask` is ignored.
bool allow_missing = 3 [(google.api.field_behavior) = OPTIONAL];
}

// Delete OspfIfNetwork request
Expand Down

0 comments on commit 672afb7

Please sign in to comment.