Skip to content

Commit

Permalink
Automated SDK generation (#859)
Browse files Browse the repository at this point in the history
* Preparing the SDK folder for regeneration

* Discovery documents

* Regenerating based on discovery

* [v0.30.0] - Adds CHANGELOG.md entry

---------

Co-authored-by: Kyle Pitzen <[email protected]>
  • Loading branch information
pulumi-bot and kpitzen authored Apr 14, 2023
1 parent 3afdf26 commit 1bbcb6a
Show file tree
Hide file tree
Showing 357 changed files with 5,679 additions and 852 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ CHANGELOG
=========

## HEAD (Unreleased)

## v0.30.0 (2023-04-14)
Upstream breaking changes:
- Resource "google-native:sqladmin/v1beta4:Instance" missing input "availableMaintenanceVersions"
- This input has been marked as "Output only" by GCP, and is now deprecated.
- Resource "google-native:sqladmin/v1:Instance" missing input "availableMaintenanceVersions"
- This input has been marked as "Output only" by GCP, and is now deprecated.

## v0.29.0 (2023-04-07)
### Does the PR have any schema changes?

Upstream breaking changes:
Expand Down
16 changes: 15 additions & 1 deletion discovery/advisorynotifications_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
}
}
},
"revision": "20230326",
"revision": "20230402",
"rootUrl": "https://advisorynotifications.googleapis.com/",
"schemas": {
"GoogleCloudAdvisorynotificationsV1Attachment": {
Expand Down Expand Up @@ -340,6 +340,20 @@
"description": "The resource name of the notification. Format: organizations/{organization}/locations/{location}/notifications/{notification}.",
"type": "string"
},
"notificationType": {
"description": "Type of notification",
"enum": [
"NOTIFICATION_TYPE_UNSPECIFIED",
"NOTIFICATION_TYPE_SECURITY_PRIVACY_ADVISORY",
"NOTIFICATION_TYPE_SENSITIVE_ACTIONS"
],
"enumDescriptions": [
"Default type",
"Security and privacy advisory notifications",
"Sensitive action notifications"
],
"type": "string"
},
"subject": {
"$ref": "GoogleCloudAdvisorynotificationsV1Subject",
"description": "The subject line of the notification."
Expand Down
2 changes: 1 addition & 1 deletion discovery/apigateway_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@
}
}
},
"revision": "20230322",
"revision": "20230329",
"rootUrl": "https://apigateway.googleapis.com/",
"schemas": {
"ApigatewayApi": {
Expand Down
2 changes: 1 addition & 1 deletion discovery/apigateway_v1beta.json
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,7 @@
}
}
},
"revision": "20230322",
"revision": "20230329",
"rootUrl": "https://apigateway.googleapis.com/",
"schemas": {
"ApigatewayApi": {
Expand Down
4 changes: 2 additions & 2 deletions discovery/apigee_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -8744,7 +8744,7 @@
}
}
},
"revision": "20230324",
"revision": "20230329",
"rootUrl": "https://apigee.googleapis.com/",
"schemas": {
"EdgeConfigstoreBundleBadBundle": {
Expand Down Expand Up @@ -13189,7 +13189,7 @@
"type": "string"
},
"authorizedNetwork": {
"description": "Name of the customer project's VPC network. If provided, the network needs to be peered through Service Networking. If none is provided, the organization will have access only to the public internet.",
"description": "Compute Engine network used for Service Networking to be peered with Apigee runtime instances. See [Getting started with the Service Networking API](https://cloud.google.com/service-infrastructure/docs/service-networking/getting-started). Apigee also supports shared VPC (that is, the host network project is not the same as the one that is peering with Apigee). See [Shared VPC overview](https://cloud.google.com/vpc/docs/shared-vpc). To use a shared VPC network, use the following format: `projects/{host-project-id}/{region}/networks/{network-name}`. For example: `projects/my-sharedvpc-host/global/networks/mynetwork`",
"type": "string"
},
"runtimeLocation": {
Expand Down
2 changes: 1 addition & 1 deletion discovery/apikeys_v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@
}
}
},
"revision": "20230404",
"revision": "20230405",
"rootUrl": "https://apikeys.googleapis.com/",
"schemas": {
"Operation": {
Expand Down
30 changes: 15 additions & 15 deletions discovery/assuredworkloads_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
]
},
"delete": {
"description": "Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error.",
"description": "Deletes the workload. Make sure that workload's direct children are already in a deleted state, otherwise the request will fail with a FAILED_PRECONDITION error. In addition to assuredworkloads.workload.delete permission, the user should also have orgpolicy.policy.set permission on the deleted folder to remove Assured Workloads OrgPolicies.",
"flatPath": "v1/organizations/{organizationsId}/locations/{locationsId}/workloads/{workloadsId}",
"httpMethod": "DELETE",
"id": "assuredworkloads.organizations.locations.workloads.delete",
Expand Down Expand Up @@ -254,7 +254,7 @@
],
"parameters": {
"name": {
"description": "Required. The resource name of the Workload to fetch. This is the workload's relative path in the API, formatted as \"organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}\". For example, \"organizations/123/locations/us-east1/workloads/assured-workload-1\".",
"description": "Required. The resource name of the Workload to fetch. This is the workloads's relative path in the API, formatted as \"organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}\". For example, \"organizations/123/locations/us-east1/workloads/assured-workload-1\".",
"location": "path",
"pattern": "^organizations/[^/]+/locations/[^/]+/workloads/[^/]+$",
"required": true,
Expand Down Expand Up @@ -519,7 +519,7 @@
}
}
},
"revision": "20230324",
"revision": "20230331",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1AcknowledgeViolationRequest": {
Expand Down Expand Up @@ -580,8 +580,8 @@
"Assured Workloads For Canada Regions and Support controls",
"International Traffic in Arms Regulations",
"Assured Workloads for Australia Regions and Support controls Available for public preview consumption. Don't create production workloads.",
"Assured Workloads for Partners",
"Assured Workloads for Israel Regions",
"Assured Workloads for Partners;",
"Assured Workloads for Israel",
"Assured Workloads for Israel Regions",
"Assured Workloads for Canada Protected B regime"
],
Expand Down Expand Up @@ -640,7 +640,7 @@
"type": "object"
},
"GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest": {
"description": "Request of updating permission settings for a partner workload.",
"description": "Request for updating permission settings for a partner workload.",
"id": "GoogleCloudAssuredworkloadsV1MutatePartnerPermissionsRequest",
"properties": {
"etag": {
Expand Down Expand Up @@ -675,7 +675,7 @@
"Unknown restriction type.",
"Allow the use all of all gcp products, irrespective of the compliance posture. This effectively removes gcp.restrictServiceUsage OrgPolicy on the AssuredWorkloads Folder.",
"Based on Workload's compliance regime, allowed list changes. See - https://cloud.google.com/assured-workloads/docs/supported-products for the list of supported resources.",
"Similar to ALLOW_COMPLIANT_RESOURCES but adds the list of compliant resources to the existing list of resources. Effective org-policy of the Folder is considered to ensure there is no disruption to the existing customer workflows."
"Similar to ALLOW_COMPLIANT_RESOURCES but adds the list of compliant resources to the existing list of compliant resources. Effective org-policy of the Folder is considered to ensure there is no disruption to the existing customer workflows."
],
"type": "string"
}
Expand Down Expand Up @@ -928,8 +928,8 @@
"Assured Workloads For Canada Regions and Support controls",
"International Traffic in Arms Regulations",
"Assured Workloads for Australia Regions and Support controls Available for public preview consumption. Don't create production workloads.",
"Assured Workloads for Partners",
"Assured Workloads for Israel Regions",
"Assured Workloads for Partners;",
"Assured Workloads for Israel",
"Assured Workloads for Israel Regions",
"Assured Workloads for Canada Protected B regime"
],
Expand Down Expand Up @@ -1009,8 +1009,8 @@
],
"enumDescriptions": [
"",
"Enum representing S3NS partner.",
"Enum representing T_SYSTEM partner."
"Enum representing S3NS (Thales) partner.",
"Enum representing T_SYSTEM (TSI) partner."
],
"type": "string"
},
Expand Down Expand Up @@ -1106,7 +1106,7 @@
"type": "object"
},
"GoogleCloudAssuredworkloadsV1WorkloadKMSSettings": {
"description": "Settings specific to the Key Management Service. This message is deprecated. In order to create a Keyring, callers should specify, ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field.",
"description": "Settings specific to the Key Management Service.",
"id": "GoogleCloudAssuredworkloadsV1WorkloadKMSSettings",
"properties": {
"nextRotationTime": {
Expand Down Expand Up @@ -1161,7 +1161,7 @@
],
"enumDescriptions": [
"Unknown resource type.",
"Consumer project. AssuredWorkloads Projects are no longer supported. This field will be ignored only in CreateWorkload requests. ListWorkloads and GetWorkload will continue to provide projects information. Use CONSUMER_FOLDER instead.",
"Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.",
"Consumer Folder.",
"Consumer project containing encryption keys.",
"Keyring resource that hosts encryption keys."
Expand All @@ -1184,7 +1184,7 @@
"type": "string"
},
"resourceType": {
"description": "Indicates the type of resource. This field should be specified to correspond the id to the right resource type (CONSUMER_FOLDER or ENCRYPTION_KEYS_PROJECT)",
"description": "Indicates the type of resource. This field should be specified to correspond the id to the right project type (CONSUMER_PROJECT or ENCRYPTION_KEYS_PROJECT)",
"enum": [
"RESOURCE_TYPE_UNSPECIFIED",
"CONSUMER_PROJECT",
Expand All @@ -1194,7 +1194,7 @@
],
"enumDescriptions": [
"Unknown resource type.",
"Consumer project. AssuredWorkloads Projects are no longer supported. This field will be ignored only in CreateWorkload requests. ListWorkloads and GetWorkload will continue to provide projects information. Use CONSUMER_FOLDER instead.",
"Deprecated. Existing workloads will continue to support this, but new CreateWorkloadRequests should not specify this as an input value.",
"Consumer Folder.",
"Consumer project containing encryption keys.",
"Keyring resource that hosts encryption keys."
Expand Down
73 changes: 70 additions & 3 deletions discovery/assuredworkloads_v1beta1.json
Original file line number Diff line number Diff line change
Expand Up @@ -595,7 +595,7 @@
}
}
},
"revision": "20230324",
"revision": "20230331",
"rootUrl": "https://assuredworkloads.googleapis.com/",
"schemas": {
"GoogleCloudAssuredworkloadsV1beta1AcknowledgeViolationRequest": {
Expand Down Expand Up @@ -633,6 +633,73 @@
},
"type": "object"
},
"GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata": {
"description": "Operation metadata to give request details of CreateWorkload.",
"id": "GoogleCloudAssuredworkloadsV1beta1CreateWorkloadOperationMetadata",
"properties": {
"complianceRegime": {
"description": "Optional. Compliance controls that should be applied to the resources managed by the workload.",
"enum": [
"COMPLIANCE_REGIME_UNSPECIFIED",
"IL4",
"CJIS",
"FEDRAMP_HIGH",
"FEDRAMP_MODERATE",
"US_REGIONAL_ACCESS",
"HIPAA",
"HITRUST",
"EU_REGIONS_AND_SUPPORT",
"CA_REGIONS_AND_SUPPORT",
"ITAR",
"AU_REGIONS_AND_US_SUPPORT",
"ASSURED_WORKLOADS_FOR_PARTNERS",
"ISR_REGIONS",
"ISR_REGIONS_AND_SUPPORT",
"CA_PROTECTED_B"
],
"enumDescriptions": [
"Unknown compliance regime.",
"Information protection as per DoD IL4 requirements.",
"Criminal Justice Information Services (CJIS) Security policies.",
"FedRAMP High data protection controls",
"FedRAMP Moderate data protection controls",
"Assured Workloads For US Regions data protection controls",
"Health Insurance Portability and Accountability Act controls",
"Health Information Trust Alliance controls",
"Assured Workloads For EU Regions and Support controls",
"Assured Workloads For Canada Regions and Support controls",
"International Traffic in Arms Regulations",
"Assured Workloads for Australia Regions and Support controls Available for public preview consumption. Don't create production workloads.",
"Assured Workloads for Partners;",
"Assured Workloads for Israel",
"Assured Workloads for Israel Regions",
"Assured Workloads for Canada Protected B regime"
],
"type": "string"
},
"createTime": {
"description": "Optional. Time when the operation was created.",
"format": "google-datetime",
"type": "string"
},
"displayName": {
"description": "Optional. The display name of the workload.",
"type": "string"
},
"parent": {
"description": "Optional. The parent of the workload.",
"type": "string"
},
"resourceSettings": {
"description": "Optional. Resource properties in the input that are used for creating/customizing workload resources.",
"items": {
"$ref": "GoogleCloudAssuredworkloadsV1beta1WorkloadResourceSettings"
},
"type": "array"
}
},
"type": "object"
},
"GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse": {
"description": "Response of ListViolations endpoint.",
"id": "GoogleCloudAssuredworkloadsV1beta1ListViolationsResponse",
Expand Down Expand Up @@ -1035,8 +1102,8 @@
],
"enumDescriptions": [
"",
"Enum representing S3NS partner.",
"Enum representing T_SYSTEM partner."
"Enum representing S3NS (Thales) partner.",
"Enum representing T_SYSTEM (TSI) partner."
],
"type": "string"
},
Expand Down
40 changes: 30 additions & 10 deletions discovery/batch_v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@
}
}
},
"revision": "20230320",
"revision": "20230329",
"rootUrl": "https://batch.googleapis.com/",
"schemas": {
"Accelerator": {
Expand Down Expand Up @@ -721,6 +721,20 @@
"task": {
"description": "Task name.",
"type": "string"
},
"taskSource": {
"description": "TaskSource represents the source of the task.",
"enum": [
"TASK_SOURCE_UNSPECIFIED",
"BATCH_INTERNAL",
"USER"
],
"enumDescriptions": [
"Unspecified task source.",
"The AgentTask from this source is generated by Batch server. E.g. all the VMActions are from this source. When Batch Agent execute AgentTask from BATCH_INTERNAL, it will log stdout/err with \"batch_agent_logs\" log name.",
"The AgentTask from this source is provided by Batch users. When Batch Agent execute AgentTask from USER, it will log stdout/err with \"batch_task_logs\" log name."
],
"type": "string"
}
},
"type": "object"
Expand Down Expand Up @@ -1438,15 +1452,17 @@
"ASSIGNED",
"RUNNING",
"FAILED",
"SUCCEEDED"
"SUCCEEDED",
"UNEXECUTED"
],
"enumDescriptions": [
"unknown state",
"Unknown state.",
"The Task is created and waiting for resources.",
"The Task is assigned to at least one VM.",
"The Task is running.",
"The Task has failed.",
"The Task has succeeded."
"The Task has succeeded.",
"The Task has not been executed when the Job finishes."
],
"type": "string"
},
Expand Down Expand Up @@ -1762,15 +1778,17 @@
"ASSIGNED",
"RUNNING",
"FAILED",
"SUCCEEDED"
"SUCCEEDED",
"UNEXECUTED"
],
"enumDescriptions": [
"unknown state",
"Unknown state.",
"The Task is created and waiting for resources.",
"The Task is assigned to at least one VM.",
"The Task is running.",
"The Task has failed.",
"The Task has succeeded."
"The Task has succeeded.",
"The Task has not been executed when the Job finishes."
],
"type": "string"
},
Expand Down Expand Up @@ -1941,15 +1959,17 @@
"ASSIGNED",
"RUNNING",
"FAILED",
"SUCCEEDED"
"SUCCEEDED",
"UNEXECUTED"
],
"enumDescriptions": [
"unknown state",
"Unknown state.",
"The Task is created and waiting for resources.",
"The Task is assigned to at least one VM.",
"The Task is running.",
"The Task has failed.",
"The Task has succeeded."
"The Task has succeeded.",
"The Task has not been executed when the Job finishes."
],
"type": "string"
},
Expand Down
Loading

0 comments on commit 1bbcb6a

Please sign in to comment.