Skip to content

Commit

Permalink
feat(cloudresourcemanager)!: update the API
Browse files Browse the repository at this point in the history
BREAKING CHANGE: This release has breaking changes.
#### cloudresourcemanager:v1beta1
The following keys were deleted:
- schemas.Binding.properties.bindingId.description

The following keys were added:
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.id
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.destinationParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.destinationParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.displayName.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.displayName.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.enum
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.enumDescriptions
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.sourceParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.sourceParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.id
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.destinationParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.destinationParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.displayName.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.displayName.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.enum
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.enumDescriptions
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.sourceParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.sourceParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.type

#### cloudresourcemanager:v2beta1
The following keys were deleted:
- schemas.Binding.properties.bindingId.description

The following keys were added:
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.id
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.destinationParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.destinationParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.displayName.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.displayName.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.enum
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.enumDescriptions
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.sourceParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.sourceParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.id
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.destinationParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.destinationParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.displayName.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.displayName.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.enum
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.enumDescriptions
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.sourceParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.sourceParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.type

The following keys were changed:
- resources.folders.methods.create.description
- resources.folders.methods.patch.description
- schemas.Folder.properties.displayName.description
- schemas.Folder.properties.parent.description

#### cloudresourcemanager:v1
The following keys were deleted:
- schemas.Binding.properties.bindingId.description

The following keys were added:
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.id
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.destinationParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.destinationParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.displayName.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.displayName.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.enum
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.enumDescriptions
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.sourceParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.sourceParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.id
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.destinationParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.destinationParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.displayName.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.displayName.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.enum
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.enumDescriptions
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.sourceParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.sourceParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.type

#### cloudresourcemanager:v2
The following keys were deleted:
- schemas.Binding.properties.bindingId.description

The following keys were added:
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.id
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.destinationParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.destinationParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.displayName.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.displayName.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.enum
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.enumDescriptions
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.operationType.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.sourceParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.properties.sourceParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.id
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.destinationParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.destinationParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.displayName.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.displayName.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.enum
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.enumDescriptions
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.operationType.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.sourceParent.description
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.properties.sourceParent.type
- schemas.CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation.type

The following keys were changed:
- resources.folders.methods.create.description
- resources.folders.methods.patch.description
- schemas.Folder.properties.displayName.description
- schemas.Folder.properties.parent.description
  • Loading branch information
yoshi-automation authored and sofisl committed Nov 6, 2020
1 parent fb961aa commit b708ab7
Show file tree
Hide file tree
Showing 8 changed files with 452 additions and 36 deletions.
69 changes: 67 additions & 2 deletions discovery/cloudresourcemanager-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1171,7 +1171,7 @@
}
}
},
"revision": "20200930",
"revision": "20201027",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"Ancestor": {
Expand Down Expand Up @@ -1238,7 +1238,6 @@
"id": "Binding",
"properties": {
"bindingId": {
"description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.",
"type": "string"
},
"condition": {
Expand Down Expand Up @@ -1292,6 +1291,72 @@
},
"type": "object"
},
"CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation": {
"description": "Metadata describing a long running folder operation",
"id": "CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation",
"properties": {
"destinationParent": {
"description": "The resource name of the folder or organization we are either creating the folder under or moving the folder to.",
"type": "string"
},
"displayName": {
"description": "The display name of the folder.",
"type": "string"
},
"operationType": {
"description": "The type of this operation.",
"enum": [
"OPERATION_TYPE_UNSPECIFIED",
"CREATE",
"MOVE"
],
"enumDescriptions": [
"Operation type not specified.",
"A create folder operation.",
"A move folder operation."
],
"type": "string"
},
"sourceParent": {
"description": "The resource name of the folder's parent. Only applicable when the operation_type is MOVE.",
"type": "string"
}
},
"type": "object"
},
"CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation": {
"description": "Metadata describing a long running folder operation",
"id": "CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation",
"properties": {
"destinationParent": {
"description": "The resource name of the folder or organization we are either creating the folder under or moving the folder to.",
"type": "string"
},
"displayName": {
"description": "The display name of the folder.",
"type": "string"
},
"operationType": {
"description": "The type of this operation.",
"enum": [
"OPERATION_TYPE_UNSPECIFIED",
"CREATE",
"MOVE"
],
"enumDescriptions": [
"Operation type not specified.",
"A create folder operation.",
"A move folder operation."
],
"type": "string"
},
"sourceParent": {
"description": "The resource name of the folder's parent. Only applicable when the operation_type is MOVE.",
"type": "string"
}
},
"type": "object"
},
"Constraint": {
"description": "A `Constraint` describes a way in which a resource's configuration can be restricted. For example, it controls which cloud services can be activated across an organization, or whether a Compute Engine instance can have serial port connections established. `Constraints` can be configured by the organization's policy administrator to fit the needs of the organzation by setting Policies for `Constraints` at different locations in the organization's resource hierarchy. Policies are inherited down the resource hierarchy from higher levels, but can also be overridden. For details about the inheritance rules please read about [Policies](/resource-manager/reference/rest/v1/Policy). `Constraints` have a default behavior determined by the `constraint_default` field, which is the enforcement behavior that is used in the absence of a `Policy` being defined or inherited for the resource in question.",
"id": "Constraint",
Expand Down
69 changes: 67 additions & 2 deletions discovery/cloudresourcemanager-v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -566,7 +566,7 @@
}
}
},
"revision": "20200930",
"revision": "20201027",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"Ancestor": {
Expand Down Expand Up @@ -633,7 +633,6 @@
"id": "Binding",
"properties": {
"bindingId": {
"description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.",
"type": "string"
},
"condition": {
Expand All @@ -654,6 +653,72 @@
},
"type": "object"
},
"CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation": {
"description": "Metadata describing a long running folder operation",
"id": "CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation",
"properties": {
"destinationParent": {
"description": "The resource name of the folder or organization we are either creating the folder under or moving the folder to.",
"type": "string"
},
"displayName": {
"description": "The display name of the folder.",
"type": "string"
},
"operationType": {
"description": "The type of this operation.",
"enum": [
"OPERATION_TYPE_UNSPECIFIED",
"CREATE",
"MOVE"
],
"enumDescriptions": [
"Operation type not specified.",
"A create folder operation.",
"A move folder operation."
],
"type": "string"
},
"sourceParent": {
"description": "The resource name of the folder's parent. Only applicable when the operation_type is MOVE.",
"type": "string"
}
},
"type": "object"
},
"CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation": {
"description": "Metadata describing a long running folder operation",
"id": "CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation",
"properties": {
"destinationParent": {
"description": "The resource name of the folder or organization we are either creating the folder under or moving the folder to.",
"type": "string"
},
"displayName": {
"description": "The display name of the folder.",
"type": "string"
},
"operationType": {
"description": "The type of this operation.",
"enum": [
"OPERATION_TYPE_UNSPECIFIED",
"CREATE",
"MOVE"
],
"enumDescriptions": [
"Operation type not specified.",
"A create folder operation.",
"A move folder operation."
],
"type": "string"
},
"sourceParent": {
"description": "The resource name of the folder's parent. Only applicable when the operation_type is MOVE.",
"type": "string"
}
},
"type": "object"
},
"Empty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
"id": "Empty",
Expand Down
77 changes: 71 additions & 6 deletions discovery/cloudresourcemanager-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@
"folders": {
"methods": {
"create": {
"description": "Creates a Folder in the resource hierarchy. Returns an Operation which can be used to track the progress of the folder creation workflow. Upon success the Operation.response field will be populated with the created Folder. In order to succeed, the addition of this new Folder must not violate the Folder naming, height or fanout constraints. + The Folder's display_name must be distinct from all other Folder's that share its parent. + The addition of the Folder must not cause the active Folder hierarchy to exceed a height of 10. Note, the full active + deleted Folder hierarchy is allowed to reach a height of 20; this provides additional headroom when moving folders that contain deleted folders. + The addition of the Folder must not cause the total number of Folders under its parent to exceed 300. If the operation fails due to a folder constraint violation, some errors may be returned by the CreateFolder request, with status code FAILED_PRECONDITION and an error description. Other folder constraint violations will be communicated in the Operation, with the specific PreconditionFailure returned via the details list in the Operation.error field. The caller must have `resourcemanager.folders.create` permission on the identified parent.",
"description": "Creates a Folder in the resource hierarchy. Returns an Operation which can be used to track the progress of the folder creation workflow. Upon success the Operation.response field will be populated with the created Folder. In order to succeed, the addition of this new Folder must not violate the Folder naming, height or fanout constraints. + The Folder's display_name must be distinct from all other Folders that share its parent. + The addition of the Folder must not cause the active Folder hierarchy to exceed a height of 10. Note, the full active + deleted Folder hierarchy is allowed to reach a height of 20; this provides additional headroom when moving folders that contain deleted folders. + The addition of the Folder must not cause the total number of Folders under its parent to exceed 300. If the operation fails due to a folder constraint violation, some errors may be returned by the CreateFolder request, with status code FAILED_PRECONDITION and an error description. Other folder constraint violations will be communicated in the Operation, with the specific PreconditionFailure returned via the details list in the Operation.error field. The caller must have `resourcemanager.folders.create` permission on the identified parent.",
"flatPath": "v2/folders",
"httpMethod": "POST",
"id": "cloudresourcemanager.folders.create",
Expand Down Expand Up @@ -281,7 +281,7 @@
]
},
"patch": {
"description": "Updates a Folder, changing its display_name. Changes to the folder display_name will be rejected if they violate either the display_name formatting rules or naming constraints described in the CreateFolder documentation. The Folder's display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be no longer than 30 characters. This is captured by the regular expression: [\\p{L}\\p{N}]([\\p{L}\\p{N}_- ]{0,28}[\\p{L}\\p{N}])?. The caller must have `resourcemanager.folders.update` permission on the identified folder. If the update fails due to the unique name constraint then a PreconditionFailure explaining this violation will be returned in the Status.details field.",
"description": "Updates a Folder, changing its display_name. Changes to the folder display_name will be rejected if they violate either the display_name formatting rules or naming constraints described in the CreateFolder documentation. The Folder's display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be no longer than 30 characters. This is captured by the regular expression: `[\\p{L}\\p{N}]([\\p{L}\\p{N}_- ]{0,28}[\\p{L}\\p{N}])?`. The caller must have `resourcemanager.folders.update` permission on the identified folder. If the update fails due to the unique name constraint then a PreconditionFailure explaining this violation will be returned in the Status.details field.",
"flatPath": "v2/folders/{foldersId}",
"httpMethod": "PATCH",
"id": "cloudresourcemanager.folders.patch",
Expand Down Expand Up @@ -450,7 +450,7 @@
}
}
},
"revision": "20201021",
"revision": "20201027",
"rootUrl": "https://cloudresourcemanager.googleapis.com/",
"schemas": {
"AuditConfig": {
Expand Down Expand Up @@ -506,7 +506,6 @@
"id": "Binding",
"properties": {
"bindingId": {
"description": "A client-specified ID for this binding. Expected to be globally unique to support the internal bindings-by-ID API.",
"type": "string"
},
"condition": {
Expand All @@ -527,6 +526,72 @@
},
"type": "object"
},
"CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation": {
"description": "Metadata describing a long running folder operation",
"id": "CloudresourcemanagerGoogleCloudResourcemanagerV2alpha1FolderOperation",
"properties": {
"destinationParent": {
"description": "The resource name of the folder or organization we are either creating the folder under or moving the folder to.",
"type": "string"
},
"displayName": {
"description": "The display name of the folder.",
"type": "string"
},
"operationType": {
"description": "The type of this operation.",
"enum": [
"OPERATION_TYPE_UNSPECIFIED",
"CREATE",
"MOVE"
],
"enumDescriptions": [
"Operation type not specified.",
"A create folder operation.",
"A move folder operation."
],
"type": "string"
},
"sourceParent": {
"description": "The resource name of the folder's parent. Only applicable when the operation_type is MOVE.",
"type": "string"
}
},
"type": "object"
},
"CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation": {
"description": "Metadata describing a long running folder operation",
"id": "CloudresourcemanagerGoogleCloudResourcemanagerV2beta1FolderOperation",
"properties": {
"destinationParent": {
"description": "The resource name of the folder or organization we are either creating the folder under or moving the folder to.",
"type": "string"
},
"displayName": {
"description": "The display name of the folder.",
"type": "string"
},
"operationType": {
"description": "The type of this operation.",
"enum": [
"OPERATION_TYPE_UNSPECIFIED",
"CREATE",
"MOVE"
],
"enumDescriptions": [
"Operation type not specified.",
"A create folder operation.",
"A move folder operation."
],
"type": "string"
},
"sourceParent": {
"description": "The resource name of the folder's parent. Only applicable when the operation_type is MOVE.",
"type": "string"
}
},
"type": "object"
},
"Expr": {
"description": "Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: \"Summary size limit\" description: \"Determines if a summary is less than 100 chars\" expression: \"document.summary.size() < 100\" Example (Equality): title: \"Requestor is owner\" description: \"Determines if requestor is the document owner\" expression: \"document.owner == request.auth.claims.email\" Example (Logic): title: \"Public documents\" description: \"Determine whether the document should be publicly visible\" expression: \"document.type != 'private' && document.type != 'internal'\" Example (Data Manipulation): title: \"Notification string\" description: \"Create a notification string with a timestamp.\" expression: \"'New message received at ' + string(document.create_time)\" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.",
"id": "Expr",
Expand Down Expand Up @@ -561,7 +626,7 @@
"type": "string"
},
"displayName": {
"description": "The folders display name. A folders display name must be unique amongst its siblings, e.g. no two folders with the same parent can share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be no longer than 30 characters. This is captured by the regular expression: [\\p{L}\\p{N}]([\\p{L}\\p{N}_- ]{0,28}[\\p{L}\\p{N}])?.",
"description": "The folder's display name. A folder's display name must be unique amongst its siblings, e.g. no two folders with the same parent can share the same display name. The display name must start and end with a letter or digit, may contain letters, digits, spaces, hyphens and underscores and can be no longer than 30 characters. This is captured by the regular expression: `[\\p{L}\\p{N}]([\\p{L}\\p{N}_- ]{0,28}[\\p{L}\\p{N}])?`.",
"type": "string"
},
"lifecycleState": {
Expand All @@ -585,7 +650,7 @@
"type": "string"
},
"parent": {
"description": "Required. The Folders parent's resource name. Updates to the folder's parent must be performed via MoveFolder.",
"description": "Required. The Folder's parent's resource name. Updates to the folder's parent must be performed via MoveFolder.",
"type": "string"
}
},
Expand Down

0 comments on commit b708ab7

Please sign in to comment.