Skip to content

Commit

Permalink
feat(chromepolicy): update the api
Browse files Browse the repository at this point in the history
#### chromepolicy:v1

The following keys were added:
- schemas.ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle (Total Keys: 4)
- schemas.GoogleChromePolicyV1PolicySchema.properties.policyApiLifeycle (Total Keys: 2)
- schemas.GoogleTypeDate (Total Keys: 8)
  • Loading branch information
yoshi-automation committed Nov 9, 2021
1 parent c2a7014 commit c330a6f
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 4 deletions.
22 changes: 20 additions & 2 deletions docs/dyn/chromepolicy_v1.customers.policySchemas.html
Expand Up @@ -106,7 +106,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # Resource representing a policy schema. Next ID: 11
{ # Resource representing a policy schema. Next ID: 12
&quot;accessRestrictions&quot;: [ # Output only. Specific access restrictions related to this policy.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -200,6 +200,15 @@ <h3>Method Details</h3>
&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.
},
],
&quot;policyApiLifeycle&quot;: { # Output only. Current life cycle information.
&quot;description&quot;: &quot;A String&quot;, # Description about current life cycle.
&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.
&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.
&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.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;policyApiLifecycleStage&quot;: &quot;A String&quot;, # Indicate current life cycle stage of the policy API.
},
&quot;policyDescription&quot;: &quot;A String&quot;, # Output only. Description about the policy schema for user consumption.
&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
&quot;supportUri&quot;: &quot;A String&quot;, # Output only. URI to related support article for this schema.
Expand Down Expand Up @@ -229,7 +238,7 @@ <h3>Method Details</h3>
{ # Response message for listing policy schemas that match a filter.
&quot;nextPageToken&quot;: &quot;A String&quot;, # The page token used to get the next page of policy schemas.
&quot;policySchemas&quot;: [ # The list of policy schemas that match the query.
{ # Resource representing a policy schema. Next ID: 11
{ # Resource representing a policy schema. Next ID: 12
&quot;accessRestrictions&quot;: [ # Output only. Specific access restrictions related to this policy.
&quot;A String&quot;,
],
Expand Down Expand Up @@ -323,6 +332,15 @@ <h3>Method Details</h3>
&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.
},
],
&quot;policyApiLifeycle&quot;: { # Output only. Current life cycle information.
&quot;description&quot;: &quot;A String&quot;, # Description about current life cycle.
&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.
&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.
&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.
&quot;year&quot;: 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
},
&quot;policyApiLifecycleStage&quot;: &quot;A String&quot;, # Indicate current life cycle stage of the policy API.
},
&quot;policyDescription&quot;: &quot;A String&quot;, # Output only. Description about the policy schema for user consumption.
&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
&quot;supportUri&quot;: &quot;A String&quot;, # Output only. URI to related support article for this schema.
Expand Down
63 changes: 61 additions & 2 deletions googleapiclient/discovery_cache/documents/chromepolicy.v1.json
Expand Up @@ -324,9 +324,41 @@
}
}
},
"revision": "20211029",
"revision": "20211105",
"rootUrl": "https://chromepolicy.googleapis.com/",
"schemas": {
"ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle": {
"id": "ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle",
"properties": {
"description": {
"description": "Description about current life cycle.",
"type": "string"
},
"endSupport": {
"$ref": "GoogleTypeDate",
"description": "End supporting date for current policy."
},
"policyApiLifecycleStage": {
"description": "Indicate current life cycle stage of the policy API.",
"enum": [
"API_UNSPECIFIED",
"API_PREVIEW",
"API_DEVELOPMENT",
"API_CURRENT",
"API_DEPRECATED"
],
"enumDescriptions": [
"unspecified.",
"Policy is not working yet, but giving developers heads up on format. This stage can transfer to API_DEVELOPEMNT or API_CURRENT.",
"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.",
"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.",
"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."
],
"type": "string"
}
},
"type": "object"
},
"GoogleChromePolicyV1AdditionalTargetKeyName": {
"description": "Additional key names that will be used to identify the target of the policy value.",
"id": "GoogleChromePolicyV1AdditionalTargetKeyName",
Expand Down Expand Up @@ -424,7 +456,7 @@
"type": "object"
},
"GoogleChromePolicyV1PolicySchema": {
"description": "Resource representing a policy schema. Next ID: 11",
"description": "Resource representing a policy schema. Next ID: 12",
"id": "GoogleChromePolicyV1PolicySchema",
"properties": {
"accessRestrictions": {
Expand Down Expand Up @@ -467,6 +499,11 @@
"readOnly": true,
"type": "array"
},
"policyApiLifeycle": {
"$ref": "ChromeCrosDpanelAutosettingsProtoPolicyApiLifecycle",
"description": "Output only. Current life cycle information.",
"readOnly": true
},
"policyDescription": {
"description": "Output only. Description about the policy schema for user consumption.",
"readOnly": true,
Expand Down Expand Up @@ -737,6 +774,28 @@
"properties": {},
"type": "object"
},
"GoogleTypeDate": {
"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`.",
"id": "GoogleTypeDate",
"properties": {
"day": {
"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.",
"format": "int32",
"type": "integer"
},
"month": {
"description": "Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.",
"format": "int32",
"type": "integer"
},
"year": {
"description": "Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.",
"format": "int32",
"type": "integer"
}
},
"type": "object"
},
"Proto2DescriptorProto": {
"description": "Describes a message type.",
"id": "Proto2DescriptorProto",
Expand Down

0 comments on commit c330a6f

Please sign in to comment.