Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #1622

Merged
merged 1 commit into from Jul 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions api-list.json
Expand Up @@ -3762,7 +3762,7 @@
"name": "networkconnectivity",
"version": "v1alpha1",
"title": "Network Connectivity API",
"description": "The Network Connectivity API provides access to Network Connectivity Center.",
"description": "This API enables connectivity with and between Google Cloud resources.",
"discoveryRestUrl": "https://networkconnectivity.googleapis.com/$discovery/rest?version=v1alpha1",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
Expand All @@ -3777,7 +3777,7 @@
"name": "networkconnectivity",
"version": "v1",
"title": "Network Connectivity API",
"description": "The Network Connectivity API provides access to Network Connectivity Center.",
"description": "This API enables connectivity with and between Google Cloud resources.",
"discoveryRestUrl": "https://networkconnectivity.googleapis.com/$discovery/rest?version=v1",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
Expand Down
622 changes: 617 additions & 5 deletions compute/v0.alpha/compute-api.json

Large diffs are not rendered by default.

1,824 changes: 1,782 additions & 42 deletions compute/v0.alpha/compute-gen.go

Large diffs are not rendered by default.

14 changes: 9 additions & 5 deletions compute/v0.beta/compute-api.json
Expand Up @@ -9747,7 +9747,7 @@
]
},
"bulkInsert": {
"description": "Creates multiple instances. Count specifies the number of instances to create.",
"description": "Creates multiple instances. Count specifies the number of instances to create. For more information, see About bulk creation of VMs.",
"flatPath": "projects/{project}/zones/{zone}/instances/bulkInsert",
"httpMethod": "POST",
"id": "compute.instances.bulkInsert",
Expand Down Expand Up @@ -35452,7 +35452,7 @@
}
}
},
"revision": "20220621",
"revision": "20220705",
"rootUrl": "https://compute.googleapis.com/",
"schemas": {
"AcceleratorConfig": {
Expand Down Expand Up @@ -37647,7 +37647,7 @@
"type": "number"
},
"maxUtilization": {
"description": "Optional parameter to define a target capacity for the UTILIZATIONbalancing mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization balancing mode.",
"description": "Optional parameter to define a target capacity for the UTILIZATION balancing mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization balancing mode.",
"format": "float",
"type": "number"
}
Expand Down Expand Up @@ -39173,7 +39173,7 @@
},
"locationPolicy": {
"$ref": "LocationPolicy",
"description": "Policy for chosing target zone."
"description": "Policy for chosing target zone. For more information, see Create VMs in bulk ."
},
"minCount": {
"description": "The minimum number of instances to create. If no min_count is specified then count is used as the default value. If min_count instances cannot be created, then no instances will be created and instances already created will be deleted.",
Expand Down Expand Up @@ -50394,7 +50394,7 @@
"description": "Constraints that the caller requires on the result distribution in this zone."
},
"preference": {
"description": "Preference for a given location.",
"description": "Preference for a given location. Set to either ALLOW or DENY.",
"enum": [
"ALLOW",
"DENY",
Expand Down Expand Up @@ -51514,6 +51514,10 @@
"description": "Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. .",
"type": "boolean"
},
"firewallPolicy": {
"description": "[Output Only] URL of the firewall policy the network is associated with.",
"type": "string"
},
"gatewayIPv4": {
"description": "[Output Only] The gateway address for default routing out of the network, selected by GCP.",
"pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}",
Expand Down
17 changes: 12 additions & 5 deletions compute/v0.beta/compute-gen.go
Expand Up @@ -4728,7 +4728,7 @@ type Backend struct {
MaxRatePerInstance float64 `json:"maxRatePerInstance,omitempty"`

// MaxUtilization: Optional parameter to define a target capacity for
// the UTILIZATIONbalancing mode. The valid range is [0.0, 1.0]. For
// the UTILIZATION balancing mode. The valid range is [0.0, 1.0]. For
// usage guidelines, see Utilization balancing mode.
MaxUtilization float64 `json:"maxUtilization,omitempty"`

Expand Down Expand Up @@ -7279,7 +7279,8 @@ type BulkInsertInstanceResource struct {
// to be created. Required if sourceInstanceTemplate is not provided.
InstanceProperties *InstanceProperties `json:"instanceProperties,omitempty"`

// LocationPolicy: Policy for chosing target zone.
// LocationPolicy: Policy for chosing target zone. For more information,
// see Create VMs in bulk .
LocationPolicy *LocationPolicy `json:"locationPolicy,omitempty"`

// MinCount: The minimum number of instances to create. If no min_count
Expand Down Expand Up @@ -25098,7 +25099,8 @@ type LocationPolicyLocation struct {
// distribution in this zone.
Constraints *LocationPolicyLocationConstraints `json:"constraints,omitempty"`

// Preference: Preference for a given location.
// Preference: Preference for a given location. Set to either ALLOW or
// DENY.
//
// Possible values:
// "ALLOW" - Location is allowed for use.
Expand Down Expand Up @@ -26926,6 +26928,10 @@ type Network struct {
// prefix fd20::/20. .
EnableUlaInternalIpv6 bool `json:"enableUlaInternalIpv6,omitempty"`

// FirewallPolicy: [Output Only] URL of the firewall policy the network
// is associated with.
FirewallPolicy string `json:"firewallPolicy,omitempty"`

// GatewayIPv4: [Output Only] The gateway address for default routing
// out of the network, selected by GCP.
GatewayIPv4 string `json:"gatewayIPv4,omitempty"`
Expand Down Expand Up @@ -99966,7 +99972,8 @@ type InstancesBulkInsertCall struct {
}

// BulkInsert: Creates multiple instances. Count specifies the number of
// instances to create.
// instances to create. For more information, see About bulk creation of
// VMs.
//
// - project: Project ID for this request.
// - zone: The name of the zone for this request.
Expand Down Expand Up @@ -100086,7 +100093,7 @@ func (c *InstancesBulkInsertCall) Do(opts ...googleapi.CallOption) (*Operation,
}
return ret, nil
// {
// "description": "Creates multiple instances. Count specifies the number of instances to create.",
// "description": "Creates multiple instances. Count specifies the number of instances to create. For more information, see About bulk creation of VMs.",
// "flatPath": "projects/{project}/zones/{zone}/instances/bulkInsert",
// "httpMethod": "POST",
// "id": "compute.instances.bulkInsert",
Expand Down
34 changes: 33 additions & 1 deletion gkehub/v1alpha/gkehub-api.json
Expand Up @@ -1151,7 +1151,7 @@
}
}
},
"revision": "20220628",
"revision": "20220706",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AnthosObservabilityFeatureSpec": {
Expand Down Expand Up @@ -2578,6 +2578,10 @@
"description": "Configuration of an auth method for a member/cluster. Only one authentication method (e.g., OIDC and LDAP) can be set per AuthMethod.",
"id": "IdentityServiceAuthMethod",
"properties": {
"azureadConfig": {
"$ref": "IdentityServiceAzureADConfig",
"description": "AzureAD specific Configuration."
},
"name": {
"description": "Identifier for auth config.",
"type": "string"
Expand All @@ -2593,6 +2597,34 @@
},
"type": "object"
},
"IdentityServiceAzureADConfig": {
"description": "Configuration for the AzureAD Auth flow.",
"id": "IdentityServiceAzureADConfig",
"properties": {
"clientId": {
"description": "ID for the registered client application that makes authentication requests to the Azure AD identity provider.",
"type": "string"
},
"clientSecret": {
"description": "Raw client secret will be passed to the GKE Hub CLH.",
"type": "string"
},
"encryptedClientSecret": {
"description": "Encrypted AzureAD client secrets",
"format": "byte",
"type": "string"
},
"kubectlRedirectUri": {
"description": "The redirect URL that kubectl uses for authorization.",
"type": "string"
},
"tenant": {
"description": "Kind of Azure AD account to be authenticated. Supported values are or for accounts belonging to a specific tenant.",
"type": "string"
}
},
"type": "object"
},
"IdentityServiceMembershipSpec": {
"description": "**Anthos Identity Service**: Configuration for a single Membership.",
"id": "IdentityServiceMembershipSpec",
Expand Down
57 changes: 52 additions & 5 deletions gkehub/v1alpha/gkehub-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion gkehub/v1beta/gkehub-api.json
Expand Up @@ -670,7 +670,7 @@
}
}
},
"revision": "20220628",
"revision": "20220706",
"rootUrl": "https://gkehub.googleapis.com/",
"schemas": {
"AnthosObservabilityFeatureSpec": {
Expand Down Expand Up @@ -2410,6 +2410,10 @@
"$ref": "PolicyControllerMonitoringConfig",
"description": "Monitoring specifies the configuration of monitoring."
},
"mutationEnabled": {
"description": "Enables the ability to mutate resources using Policy Controller.",
"type": "boolean"
},
"referentialRulesEnabled": {
"description": "Enables the ability to use Constraint Templates that reference to objects other than the object currently being evaluated.",
"type": "boolean"
Expand Down
4 changes: 4 additions & 0 deletions gkehub/v1beta/gkehub-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions memcache/v1/memcache-api.json
Expand Up @@ -556,7 +556,7 @@
}
}
},
"revision": "20220419",
"revision": "20220709",
"rootUrl": "https://memcache.googleapis.com/",
"schemas": {
"ApplyParametersRequest": {
Expand Down Expand Up @@ -768,7 +768,7 @@
"additionalProperties": {
"type": "string"
},
"description": "Deprecated. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.",
"description": "Optional. Deprecated. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the referenced policy must define the same policy type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug.",
"type": "object"
},
"maintenanceSchedules": {
Expand Down Expand Up @@ -908,7 +908,7 @@
"additionalProperties": {
"$ref": "MaintenancePolicy"
},
"description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the embedded policy must define the same policy type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug. If only the name is needed (like in the deprecated Instance.maintenance_policy_names field) then only populate MaintenancePolicy.name.",
"description": "Optional. The MaintenancePolicies that have been attached to the instance. The key must be of the type name of the oneof policy name defined in MaintenancePolicy, and the embedded policy must define the same policy type. For complete details of MaintenancePolicy, please refer to go/cloud-saas-mw-ug. If only the name is needed, then only populate MaintenancePolicy.name.",
"type": "object"
}
},
Expand Down
10 changes: 4 additions & 6 deletions memcache/v1/memcache-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.