Skip to content

Commit c330a6f

Browse files
feat(chromepolicy): update the api
#### chromepolicy:v1 The following keys were added: - schemas.ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle (Total Keys: 4) - schemas.GoogleChromePolicyV1PolicySchema.properties.policyApiLifeycle (Total Keys: 2) - schemas.GoogleTypeDate (Total Keys: 8)
1 parent c2a7014 commit c330a6f

File tree

2 files changed

+81
-4
lines changed

2 files changed

+81
-4
lines changed

docs/dyn/chromepolicy_v1.customers.policySchemas.html

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ <h3>Method Details</h3>
106106
Returns:
107107
An object of the form:
108108

109-
{ # Resource representing a policy schema. Next ID: 11
109+
{ # Resource representing a policy schema. Next ID: 12
110110
&quot;accessRestrictions&quot;: [ # Output only. Specific access restrictions related to this policy.
111111
&quot;A String&quot;,
112112
],
@@ -200,6 +200,15 @@ <h3>Method Details</h3>
200200
&quot;noticeValue&quot;: &quot;A String&quot;, # Output only. The value of the field that has a notice. When setting the field to this value, the user may be required to acknowledge the notice message in order for the value to be set.
201201
},
202202
],
203+
&quot;policyApiLifeycle&quot;: { # Output only. Current life cycle information.
204+
&quot;description&quot;: &quot;A String&quot;, # Description about current life cycle.
205+
&quot;endSupport&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`. # End supporting date for current policy.
206+
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
207+
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
208+
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
209+
},
210+
&quot;policyApiLifecycleStage&quot;: &quot;A String&quot;, # Indicate current life cycle stage of the policy API.
211+
},
203212
&quot;policyDescription&quot;: &quot;A String&quot;, # Output only. Description about the policy schema for user consumption.
204213
&quot;schemaName&quot;: &quot;A String&quot;, # Output only. The fully qualified name of the policy schema. This value is used to fill the field `policy_schema` in PolicyValue when calling BatchInheritOrgUnitPolicies or BatchModifyOrgUnitPolicies
205214
&quot;supportUri&quot;: &quot;A String&quot;, # Output only. URI to related support article for this schema.
@@ -229,7 +238,7 @@ <h3>Method Details</h3>
229238
{ # Response message for listing policy schemas that match a filter.
230239
&quot;nextPageToken&quot;: &quot;A String&quot;, # The page token used to get the next page of policy schemas.
231240
&quot;policySchemas&quot;: [ # The list of policy schemas that match the query.
232-
{ # Resource representing a policy schema. Next ID: 11
241+
{ # Resource representing a policy schema. Next ID: 12
233242
&quot;accessRestrictions&quot;: [ # Output only. Specific access restrictions related to this policy.
234243
&quot;A String&quot;,
235244
],
@@ -323,6 +332,15 @@ <h3>Method Details</h3>
323332
&quot;noticeValue&quot;: &quot;A String&quot;, # Output only. The value of the field that has a notice. When setting the field to this value, the user may be required to acknowledge the notice message in order for the value to be set.
324333
},
325334
],
335+
&quot;policyApiLifeycle&quot;: { # Output only. Current life cycle information.
336+
&quot;description&quot;: &quot;A String&quot;, # Description about current life cycle.
337+
&quot;endSupport&quot;: { # Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`. # End supporting date for current policy.
338+
&quot;day&quot;: 42, # Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn&#x27;t significant.
339+
&quot;month&quot;: 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
340+
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
341+
},
342+
&quot;policyApiLifecycleStage&quot;: &quot;A String&quot;, # Indicate current life cycle stage of the policy API.
343+
},
326344
&quot;policyDescription&quot;: &quot;A String&quot;, # Output only. Description about the policy schema for user consumption.
327345
&quot;schemaName&quot;: &quot;A String&quot;, # Output only. The fully qualified name of the policy schema. This value is used to fill the field `policy_schema` in PolicyValue when calling BatchInheritOrgUnitPolicies or BatchModifyOrgUnitPolicies
328346
&quot;supportUri&quot;: &quot;A String&quot;, # Output only. URI to related support article for this schema.

googleapiclient/discovery_cache/documents/chromepolicy.v1.json

Lines changed: 61 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -324,9 +324,41 @@
324324
}
325325
}
326326
},
327-
"revision": "20211029",
327+
"revision": "20211105",
328328
"rootUrl": "https://chromepolicy.googleapis.com/",
329329
"schemas": {
330+
"ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle": {
331+
"id": "ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle",
332+
"properties": {
333+
"description": {
334+
"description": "Description about current life cycle.",
335+
"type": "string"
336+
},
337+
"endSupport": {
338+
"$ref": "GoogleTypeDate",
339+
"description": "End supporting date for current policy."
340+
},
341+
"policyApiLifecycleStage": {
342+
"description": "Indicate current life cycle stage of the policy API.",
343+
"enum": [
344+
"API_UNSPECIFIED",
345+
"API_PREVIEW",
346+
"API_DEVELOPMENT",
347+
"API_CURRENT",
348+
"API_DEPRECATED"
349+
],
350+
"enumDescriptions": [
351+
"unspecified.",
352+
"Policy is not working yet, but giving developers heads up on format. This stage can transfer to API_DEVELOPEMNT or API_CURRENT.",
353+
"Policy can change format in backward incompatible way (breaking change). This stage can transfer to API_CURRENT or API_DEPRECATED. This could be used for policies launched only to TTs or launched to selected customers for emergency usage.",
354+
"Policy in official format. Policy can change format in backward compatible way (non-breaking change). Example: this policy can introduce a new field, which is considered non-breaking change, when field masks are properly utilized. This stage can transfer to API_DEPRECATED.",
355+
"Please stop using this policy. This policy is deprecated and may/will be removed in the future. Most likely a new policy was introduced to replace this one."
356+
],
357+
"type": "string"
358+
}
359+
},
360+
"type": "object"
361+
},
330362
"GoogleChromePolicyV1AdditionalTargetKeyName": {
331363
"description": "Additional key names that will be used to identify the target of the policy value.",
332364
"id": "GoogleChromePolicyV1AdditionalTargetKeyName",
@@ -424,7 +456,7 @@
424456
"type": "object"
425457
},
426458
"GoogleChromePolicyV1PolicySchema": {
427-
"description": "Resource representing a policy schema. Next ID: 11",
459+
"description": "Resource representing a policy schema. Next ID: 12",
428460
"id": "GoogleChromePolicyV1PolicySchema",
429461
"properties": {
430462
"accessRestrictions": {
@@ -467,6 +499,11 @@
467499
"readOnly": true,
468500
"type": "array"
469501
},
502+
"policyApiLifeycle": {
503+
"$ref": "ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle",
504+
"description": "Output only. Current life cycle information.",
505+
"readOnly": true
506+
},
470507
"policyDescription": {
471508
"description": "Output only. Description about the policy schema for user consumption.",
472509
"readOnly": true,
@@ -737,6 +774,28 @@
737774
"properties": {},
738775
"type": "object"
739776
},
777+
"GoogleTypeDate": {
778+
"description": "Represents a whole or partial calendar date, such as a birthday. The time of day and time zone are either specified elsewhere or are insignificant. The date is relative to the Gregorian Calendar. This can represent one of the following: * A full date, with non-zero year, month, and day values * A month and day value, with a zero year, such as an anniversary * A year on its own, with zero month and day values * A year and month value, with a zero day, such as a credit card expiration date Related types are google.type.TimeOfDay and `google.protobuf.Timestamp`.",
779+
"id": "GoogleTypeDate",
780+
"properties": {
781+
"day": {
782+
"description": "Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.",
783+
"format": "int32",
784+
"type": "integer"
785+
},
786+
"month": {
787+
"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
788+
"format": "int32",
789+
"type": "integer"
790+
},
791+
"year": {
792+
"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
793+
"format": "int32",
794+
"type": "integer"
795+
}
796+
},
797+
"type": "object"
798+
},
740799
"Proto2DescriptorProto": {
741800
"description": "Describes a message type.",
742801
"id": "Proto2DescriptorProto",

0 commit comments

Comments
 (0)