Skip to content

Commit d9175bc

Browse files
feat(osconfig): update the api
#### osconfig:v1 The following keys were added: - schemas.MessageSet (Total Keys: 3) - schemas.StatusProto (Total Keys: 9) #### osconfig:v1alpha The following keys were added: - schemas.MessageSet (Total Keys: 3) - schemas.StatusProto (Total Keys: 9) #### osconfig:v1beta The following keys were added: - schemas.MessageSet (Total Keys: 3) - schemas.StatusProto (Total Keys: 9) #### osconfig:v2 The following keys were added: - schemas.MessageSet (Total Keys: 3) - schemas.StatusProto (Total Keys: 9) #### osconfig:v2beta The following keys were added: - schemas.MessageSet (Total Keys: 3) - schemas.StatusProto (Total Keys: 9)
1 parent 2b586ca commit d9175bc

11 files changed

+197
-17
lines changed

docs/dyn/osconfig_v2.folders.locations.global_.policyOrchestrators.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1435,7 +1435,7 @@ <h3>Method Details</h3>
14351435
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the policy orchestrator resource was last modified.
14361436
}
14371437

1438-
updateMask: string, Optional. The list of fields to merge into the existing policy orchestrator. A special [&quot;*&quot;] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.
1438+
updateMask: string, Optional. The list of fields to merge into the existing policy orchestrator. A special [&quot;*&quot;] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.
14391439
x__xgafv: string, V1 error format.
14401440
Allowed values
14411441
1 - v1 error format

docs/dyn/osconfig_v2.organizations.locations.global_.policyOrchestrators.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1435,7 +1435,7 @@ <h3>Method Details</h3>
14351435
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the policy orchestrator resource was last modified.
14361436
}
14371437

1438-
updateMask: string, Optional. The list of fields to merge into the existing policy orchestrator. A special [&quot;*&quot;] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.
1438+
updateMask: string, Optional. The list of fields to merge into the existing policy orchestrator. A special [&quot;*&quot;] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.
14391439
x__xgafv: string, V1 error format.
14401440
Allowed values
14411441
1 - v1 error format

docs/dyn/osconfig_v2.projects.locations.global_.policyOrchestrators.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1435,7 +1435,7 @@ <h3>Method Details</h3>
14351435
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the policy orchestrator resource was last modified.
14361436
}
14371437

1438-
updateMask: string, Optional. The list of fields to merge into the existing policy orchestrator. A special [&quot;*&quot;] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.
1438+
updateMask: string, Optional. The list of fields to merge into the existing policy orchestrator. A special [&quot;*&quot;] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.
14391439
x__xgafv: string, V1 error format.
14401440
Allowed values
14411441
1 - v1 error format

docs/dyn/osconfig_v2beta.folders.locations.global_.policyOrchestrators.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1435,7 +1435,7 @@ <h3>Method Details</h3>
14351435
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the policy orchestrator resource was last modified.
14361436
}
14371437

1438-
updateMask: string, Optional. The list of fields to merge into the existing policy orchestrator. A special [&quot;*&quot;] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.
1438+
updateMask: string, Optional. The list of fields to merge into the existing policy orchestrator. A special [&quot;*&quot;] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.
14391439
x__xgafv: string, V1 error format.
14401440
Allowed values
14411441
1 - v1 error format

docs/dyn/osconfig_v2beta.organizations.locations.global_.policyOrchestrators.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1435,7 +1435,7 @@ <h3>Method Details</h3>
14351435
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the policy orchestrator resource was last modified.
14361436
}
14371437

1438-
updateMask: string, Optional. The list of fields to merge into the existing policy orchestrator. A special [&quot;*&quot;] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.
1438+
updateMask: string, Optional. The list of fields to merge into the existing policy orchestrator. A special [&quot;*&quot;] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.
14391439
x__xgafv: string, V1 error format.
14401440
Allowed values
14411441
1 - v1 error format

docs/dyn/osconfig_v2beta.projects.locations.global_.policyOrchestrators.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1435,7 +1435,7 @@ <h3>Method Details</h3>
14351435
&quot;updateTime&quot;: &quot;A String&quot;, # Output only. Timestamp when the policy orchestrator resource was last modified.
14361436
}
14371437

1438-
updateMask: string, Optional. The list of fields to merge into the existing policy orchestrator. A special [&quot;*&quot;] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.
1438+
updateMask: string, Optional. The list of fields to merge into the existing policy orchestrator. A special [&quot;*&quot;] field mask can be used to simply replace the entire resource. Otherwise, for all paths referenced in the mask, following merge rules are used: * output only fields are ignored, * primitive fields are replaced, * repeated fields are replaced, * map fields are merged key by key, * message fields are cleared if not set in the request, otherwise they are merged recursively (in particular - message fields set to an empty message has no side effects) If field mask (or its paths) is not specified, it is automatically inferred from the request using following rules: * primitive fields are listed, if set to a non-default value (as there is no way to distinguish between default and unset value), * map and repeated fields are listed, * `google.protobuf.Any` fields are listed, * other message fields are traversed recursively. Note: implicit mask does not allow clearing fields.
14391439
x__xgafv: string, V1 error format.
14401440
Allowed values
14411441
1 - v1 error format

googleapiclient/discovery_cache/documents/osconfig.v1.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1083,7 +1083,7 @@
10831083
}
10841084
}
10851085
},
1086-
"revision": "20250323",
1086+
"revision": "20250511",
10871087
"rootUrl": "https://osconfig.googleapis.com/",
10881088
"schemas": {
10891089
"AptSettings": {
@@ -2055,6 +2055,13 @@
20552055
},
20562056
"type": "object"
20572057
},
2058+
"MessageSet": {
2059+
"deprecated": true,
2060+
"description": "This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS. If you are using editions or proto2, please make your own extendable messages for your use case. If you are using proto3, please use `Any` instead. MessageSet was the implementation of extensions for proto1. When proto2 was introduced, extensions were implemented as a first-class feature. This schema for MessageSet was meant to be a \"bridge\" solution to migrate MessageSet-bearing messages from proto1 to proto2. This schema has been open-sourced only to facilitate the migration of Google products with MessageSet-bearing messages to open-source environments.",
2061+
"id": "MessageSet",
2062+
"properties": {},
2063+
"type": "object"
2064+
},
20582065
"MonthlySchedule": {
20592066
"description": "Represents a monthly schedule. An example of a valid monthly schedule is \"on the third Tuesday of the month\" or \"on the 15th of the month\".",
20602067
"id": "MonthlySchedule",
@@ -3583,6 +3590,35 @@
35833590
},
35843591
"type": "object"
35853592
},
3593+
"StatusProto": {
3594+
"description": "Wire-format for a Status object",
3595+
"id": "StatusProto",
3596+
"properties": {
3597+
"canonicalCode": {
3598+
"description": "copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6;",
3599+
"format": "int32",
3600+
"type": "integer"
3601+
},
3602+
"code": {
3603+
"description": "Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1;",
3604+
"format": "int32",
3605+
"type": "integer"
3606+
},
3607+
"message": {
3608+
"description": "Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3;",
3609+
"type": "string"
3610+
},
3611+
"messageSet": {
3612+
"$ref": "MessageSet",
3613+
"description": "message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5;"
3614+
},
3615+
"space": {
3616+
"description": "copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs",
3617+
"type": "string"
3618+
}
3619+
},
3620+
"type": "object"
3621+
},
35863622
"TimeOfDay": {
35873623
"description": "Represents a time of day. The date and time zone are either not significant or are specified elsewhere. An API may choose to allow leap seconds. Related types are google.type.Date and `google.protobuf.Timestamp`.",
35883624
"id": "TimeOfDay",

googleapiclient/discovery_cache/documents/osconfig.v1alpha.json

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -707,7 +707,7 @@
707707
}
708708
}
709709
},
710-
"revision": "20250323",
710+
"revision": "20250511",
711711
"rootUrl": "https://osconfig.googleapis.com/",
712712
"schemas": {
713713
"CVSSv3": {
@@ -1596,6 +1596,13 @@
15961596
},
15971597
"type": "object"
15981598
},
1599+
"MessageSet": {
1600+
"deprecated": true,
1601+
"description": "This is proto2's version of MessageSet. DEPRECATED: DO NOT USE FOR NEW FIELDS. If you are using editions or proto2, please make your own extendable messages for your use case. If you are using proto3, please use `Any` instead. MessageSet was the implementation of extensions for proto1. When proto2 was introduced, extensions were implemented as a first-class feature. This schema for MessageSet was meant to be a \"bridge\" solution to migrate MessageSet-bearing messages from proto1 to proto2. This schema has been open-sourced only to facilitate the migration of Google products with MessageSet-bearing messages to open-source environments.",
1602+
"id": "MessageSet",
1603+
"properties": {},
1604+
"type": "object"
1605+
},
15991606
"OSPolicy": {
16001607
"description": "An OS policy defines the desired state configuration for a VM.",
16011608
"id": "OSPolicy",
@@ -2680,6 +2687,35 @@
26802687
},
26812688
"type": "object"
26822689
},
2690+
"StatusProto": {
2691+
"description": "Wire-format for a Status object",
2692+
"id": "StatusProto",
2693+
"properties": {
2694+
"canonicalCode": {
2695+
"description": "copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 canonical_code = 6;",
2696+
"format": "int32",
2697+
"type": "integer"
2698+
},
2699+
"code": {
2700+
"description": "Numeric code drawn from the space specified below. Often, this is the canonical error space, and code is drawn from google3/util/task/codes.proto copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional int32 code = 1;",
2701+
"format": "int32",
2702+
"type": "integer"
2703+
},
2704+
"message": {
2705+
"description": "Detail message copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional string message = 3;",
2706+
"type": "string"
2707+
},
2708+
"messageSet": {
2709+
"$ref": "MessageSet",
2710+
"description": "message_set associates an arbitrary proto message with the status. copybara:strip_begin(b/383363683) copybara:strip_end_and_replace optional proto2.bridge.MessageSet message_set = 5;"
2711+
},
2712+
"space": {
2713+
"description": "copybara:strip_begin(b/383363683) Space to which this status belongs copybara:strip_end_and_replace optional string space = 2; // Space to which this status belongs",
2714+
"type": "string"
2715+
}
2716+
},
2717+
"type": "object"
2718+
},
26832719
"VulnerabilityReport": {
26842720
"description": "This API resource represents the vulnerability report for a specified Compute Engine virtual machine (VM) instance at a given point in time. For more information, see [Vulnerability reports](https://cloud.google.com/compute/docs/instances/os-inventory-management#vulnerability-reports).",
26852721
"id": "VulnerabilityReport",

0 commit comments

Comments
 (0)