From c330a6f08c004f0809bfbc1b43801dd5c38dc805 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 9 Nov 2021 07:07:58 +0000 Subject: [PATCH] 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) --- ...romepolicy_v1.customers.policySchemas.html | 22 ++++++- .../documents/chromepolicy.v1.json | 63 ++++++++++++++++++- 2 files changed, 81 insertions(+), 4 deletions(-) diff --git a/docs/dyn/chromepolicy_v1.customers.policySchemas.html b/docs/dyn/chromepolicy_v1.customers.policySchemas.html index eeb7ce3965d..4f803ba24d4 100644 --- a/docs/dyn/chromepolicy_v1.customers.policySchemas.html +++ b/docs/dyn/chromepolicy_v1.customers.policySchemas.html @@ -106,7 +106,7 @@

Method Details

Returns: An object of the form: - { # Resource representing a policy schema. Next ID: 11 + { # Resource representing a policy schema. Next ID: 12 "accessRestrictions": [ # Output only. Specific access restrictions related to this policy. "A String", ], @@ -200,6 +200,15 @@

Method Details

"noticeValue": "A String", # 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. }, ], + "policyApiLifeycle": { # Output only. Current life cycle information. + "description": "A String", # Description about current life cycle. + "endSupport": { # 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. + "day": 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't significant. + "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + }, + "policyApiLifecycleStage": "A String", # Indicate current life cycle stage of the policy API. + }, "policyDescription": "A String", # Output only. Description about the policy schema for user consumption. "schemaName": "A String", # 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 "supportUri": "A String", # Output only. URI to related support article for this schema. @@ -229,7 +238,7 @@

Method Details

{ # Response message for listing policy schemas that match a filter. "nextPageToken": "A String", # The page token used to get the next page of policy schemas. "policySchemas": [ # 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 "accessRestrictions": [ # Output only. Specific access restrictions related to this policy. "A String", ], @@ -323,6 +332,15 @@

Method Details

"noticeValue": "A String", # 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. }, ], + "policyApiLifeycle": { # Output only. Current life cycle information. + "description": "A String", # Description about current life cycle. + "endSupport": { # 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. + "day": 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't significant. + "month": 42, # Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day. + "year": 42, # Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year. + }, + "policyApiLifecycleStage": "A String", # Indicate current life cycle stage of the policy API. + }, "policyDescription": "A String", # Output only. Description about the policy schema for user consumption. "schemaName": "A String", # 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 "supportUri": "A String", # Output only. URI to related support article for this schema. diff --git a/googleapiclient/discovery_cache/documents/chromepolicy.v1.json b/googleapiclient/discovery_cache/documents/chromepolicy.v1.json index 4a3ae551a0c..4c847a5cb7b 100644 --- a/googleapiclient/discovery_cache/documents/chromepolicy.v1.json +++ b/googleapiclient/discovery_cache/documents/chromepolicy.v1.json @@ -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", @@ -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": { @@ -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, @@ -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",