UNPKG

@google-cloud/edgecontainer

Version:
1,175 lines 156 kB
{ "nested": { "google": { "nested": { "cloud": { "nested": { "edgecontainer": { "nested": { "v1": { "options": { "csharp_namespace": "Google.Cloud.EdgeContainer.V1", "go_package": "cloud.google.com/go/edgecontainer/apiv1/edgecontainerpb;edgecontainerpb", "java_multiple_files": true, "java_outer_classname": "ServiceProto", "java_package": "com.google.cloud.edgecontainer.v1", "php_namespace": "Google\\Cloud\\EdgeContainer\\V1", "ruby_package": "Google::Cloud::EdgeContainer::V1", "(google.api.resource_definition).type": "cloudkms.googleapis.com/CryptoKeyVersion", "(google.api.resource_definition).pattern": "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}/cryptoKeyVersions/{crypto_key_version}" }, "nested": { "KmsKeyState": { "values": { "KMS_KEY_STATE_UNSPECIFIED": 0, "KMS_KEY_STATE_KEY_AVAILABLE": 1, "KMS_KEY_STATE_KEY_UNAVAILABLE": 2 } }, "ResourceState": { "values": { "RESOURCE_STATE_UNSPECIFIED": 0, "RESOURCE_STATE_LOCK_DOWN": 1, "RESOURCE_STATE_LOCK_DOWN_PENDING": 2 } }, "Cluster": { "options": { "(google.api.resource).type": "edgecontainer.googleapis.com/Cluster", "(google.api.resource).pattern": "projects/{project}/locations/{location}/clusters/{cluster}" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "edgecontainer.googleapis.com/Cluster" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "updateTime": { "type": "google.protobuf.Timestamp", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "labels": { "keyType": "string", "type": "string", "id": 4 }, "fleet": { "type": "Fleet", "id": 11, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "networking": { "type": "ClusterNetworking", "id": 7, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "authorization": { "type": "Authorization", "id": 9, "options": { "(google.api.field_behavior)": "IMMUTABLE" } }, "defaultMaxPodsPerNode": { "type": "int32", "id": 8, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "endpoint": { "type": "string", "id": 6, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "port": { "type": "int32", "id": 19, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "clusterCaCertificate": { "type": "string", "id": 10, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "maintenancePolicy": { "type": "MaintenancePolicy", "id": 12, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "controlPlaneVersion": { "type": "string", "id": 13, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "nodeVersion": { "type": "string", "id": 14, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "controlPlane": { "type": "ControlPlane", "id": 15, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "systemAddonsConfig": { "type": "SystemAddonsConfig", "id": 16, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "externalLoadBalancerIpv4AddressPools": { "rule": "repeated", "type": "string", "id": 17, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "controlPlaneEncryption": { "type": "ControlPlaneEncryption", "id": 18, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "status": { "type": "Status", "id": 20, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "maintenanceEvents": { "rule": "repeated", "type": "MaintenanceEvent", "id": 21, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "targetVersion": { "type": "string", "id": 22, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "releaseChannel": { "type": "ReleaseChannel", "id": 23, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "survivabilityConfig": { "type": "SurvivabilityConfig", "id": 24, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "externalLoadBalancerIpv6AddressPools": { "rule": "repeated", "type": "string", "id": 25, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "connectionState": { "type": "ConnectionState", "id": 27, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } }, "nested": { "ControlPlane": { "oneofs": { "config": { "oneof": [ "remote", "local" ] } }, "fields": { "remote": { "type": "Remote", "id": 1 }, "local": { "type": "Local", "id": 2 } }, "nested": { "Remote": { "fields": {} }, "Local": { "fields": { "nodeLocation": { "type": "string", "id": 1 }, "nodeCount": { "type": "int32", "id": 2 }, "machineFilter": { "type": "string", "id": 3 }, "sharedDeploymentPolicy": { "type": "SharedDeploymentPolicy", "id": 4 }, "controlPlaneNodeStorageSchema": { "type": "string", "id": 5, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "SharedDeploymentPolicy": { "values": { "SHARED_DEPLOYMENT_POLICY_UNSPECIFIED": 0, "ALLOWED": 1, "DISALLOWED": 2 } } } }, "SystemAddonsConfig": { "fields": { "ingress": { "type": "Ingress", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "vmServiceConfig": { "type": "VMServiceConfig", "id": 4, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "Ingress": { "fields": { "disabled": { "type": "bool", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "ipv4Vip": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "VMServiceConfig": { "fields": { "vmmEnabled": { "type": "bool", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } } } }, "ControlPlaneEncryption": { "fields": { "kmsKey": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL", "(google.api.resource_reference).type": "cloudkms.googleapis.com/CryptoKey" } }, "kmsKeyActiveVersion": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY", "(google.api.resource_reference).type": "cloudkms.googleapis.com/CryptoKeyVersion" } }, "kmsKeyState": { "type": "KmsKeyState", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "kmsStatus": { "type": "google.rpc.Status", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "resourceState": { "type": "ResourceState", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "MaintenanceEvent": { "fields": { "uuid": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "targetVersion": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "operation": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "type": { "type": "Type", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "schedule": { "type": "Schedule", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "state": { "type": "State", "id": 6, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 7, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "startTime": { "type": "google.protobuf.Timestamp", "id": 8, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "endTime": { "type": "google.protobuf.Timestamp", "id": 9, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "updateTime": { "type": "google.protobuf.Timestamp", "id": 10, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } }, "nested": { "Type": { "values": { "TYPE_UNSPECIFIED": 0, "USER_INITIATED_UPGRADE": 1, "GOOGLE_DRIVEN_UPGRADE": 2 } }, "Schedule": { "values": { "SCHEDULE_UNSPECIFIED": 0, "IMMEDIATELY": 1 } }, "State": { "values": { "STATE_UNSPECIFIED": 0, "RECONCILING": 1, "SUCCEEDED": 2, "FAILED": 3 } } } }, "SurvivabilityConfig": { "fields": { "offlineRebootTtl": { "type": "google.protobuf.Duration", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "ConnectionState": { "fields": { "state": { "type": "State", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "updateTime": { "type": "google.protobuf.Timestamp", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } }, "nested": { "State": { "values": { "STATE_UNSPECIFIED": 0, "DISCONNECTED": 1, "CONNECTED": 2, "CONNECTED_AND_SYNCING": 3 } } } }, "Status": { "values": { "STATUS_UNSPECIFIED": 0, "PROVISIONING": 1, "RUNNING": 2, "DELETING": 3, "ERROR": 4, "RECONCILING": 5 } }, "ReleaseChannel": { "values": { "RELEASE_CHANNEL_UNSPECIFIED": 0, "NONE": 1, "REGULAR": 2 } } } }, "ClusterNetworking": { "fields": { "clusterIpv4CidrBlocks": { "rule": "repeated", "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "servicesIpv4CidrBlocks": { "rule": "repeated", "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "Fleet": { "fields": { "project": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "membership": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "ClusterUser": { "fields": { "username": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "Authorization": { "fields": { "adminUsers": { "type": "ClusterUser", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED" } } } }, "NodePool": { "options": { "(google.api.resource).type": "edgecontainer.googleapis.com/NodePool", "(google.api.resource).pattern": "projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "edgecontainer.googleapis.com/NodePool" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "updateTime": { "type": "google.protobuf.Timestamp", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "labels": { "keyType": "string", "type": "string", "id": 4 }, "nodeLocation": { "type": "string", "id": 8 }, "nodeCount": { "type": "int32", "id": 6, "options": { "(google.api.field_behavior)": "REQUIRED" } }, "machineFilter": { "type": "string", "id": 7 }, "localDiskEncryption": { "type": "LocalDiskEncryption", "id": 9, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "nodeVersion": { "type": "string", "id": 10, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "nodeConfig": { "type": "NodeConfig", "id": 11, "options": { "(google.api.field_behavior)": "OPTIONAL" } } }, "nested": { "LocalDiskEncryption": { "fields": { "kmsKey": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL", "(google.api.resource_reference).type": "cloudkms.googleapis.com/CryptoKey" } }, "kmsKeyActiveVersion": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY", "(google.api.resource_reference).type": "cloudkms.googleapis.com/CryptoKeyVersion" } }, "kmsKeyState": { "type": "KmsKeyState", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "kmsStatus": { "type": "google.rpc.Status", "id": 4, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "resourceState": { "type": "ResourceState", "id": 5, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "NodeConfig": { "fields": { "labels": { "keyType": "string", "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "nodeStorageSchema": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } } } }, "Machine": { "options": { "(google.api.resource).type": "edgecontainer.googleapis.com/Machine", "(google.api.resource).pattern": "projects/{project}/locations/{location}/machines/{machine}" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "edgecontainer.googleapis.com/Machine" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "updateTime": { "type": "google.protobuf.Timestamp", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "labels": { "keyType": "string", "type": "string", "id": 4 }, "hostedNode": { "type": "string", "id": 5 }, "zone": { "type": "string", "id": 6 }, "version": { "type": "string", "id": 7, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "disabled": { "type": "bool", "id": 8, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "VpnConnection": { "options": { "(google.api.resource).type": "edgecontainer.googleapis.com/VpnConnection", "(google.api.resource).pattern": "projects/{project}/locations/{location}/vpnConnections/{vpn_connection}" }, "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "REQUIRED", "(google.api.resource_reference).type": "edgecontainer.googleapis.com/VpnConnection" } }, "createTime": { "type": "google.protobuf.Timestamp", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "updateTime": { "type": "google.protobuf.Timestamp", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "labels": { "keyType": "string", "type": "string", "id": 4 }, "natGatewayIp": { "type": "string", "id": 5 }, "bgpRoutingMode": { "type": "BgpRoutingMode", "id": 6, "options": { "deprecated": true } }, "cluster": { "type": "string", "id": 7, "options": { "(google.api.resource_reference).type": "edgecontainer.googleapis.com/Cluster" } }, "vpc": { "type": "string", "id": 8 }, "vpcProject": { "type": "VpcProject", "id": 11, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "enableHighAvailability": { "type": "bool", "id": 9 }, "router": { "type": "string", "id": 12, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "details": { "type": "Details", "id": 10, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } }, "nested": { "VpcProject": { "fields": { "projectId": { "type": "string", "id": 1 }, "serviceAccount": { "type": "string", "id": 2, "options": { "deprecated": true, "(google.api.field_behavior)": "OPTIONAL" } } } }, "Details": { "fields": { "state": { "type": "State", "id": 1 }, "error": { "type": "string", "id": 2 }, "cloudRouter": { "type": "CloudRouter", "id": 3 }, "cloudVpns": { "rule": "repeated", "type": "CloudVpn", "id": 4 } }, "nested": { "CloudRouter": { "fields": { "name": { "type": "string", "id": 1 } } }, "CloudVpn": { "fields": { "gateway": { "type": "string", "id": 1 } } }, "State": { "values": { "STATE_UNSPECIFIED": 0, "STATE_CONNECTED": 1, "STATE_CONNECTING": 2, "STATE_ERROR": 3 } } } }, "BgpRoutingMode": { "values": { "BGP_ROUTING_MODE_UNSPECIFIED": 0, "REGIONAL": 1, "GLOBAL": 2 } } } }, "LocationMetadata": { "fields": { "availableZones": { "keyType": "string", "type": "ZoneMetadata", "id": 1 } } }, "ZoneMetadata": { "fields": { "quota": { "rule": "repeated", "type": "Quota", "id": 1 }, "rackTypes": { "keyType": "string", "type": "RackType", "id": 2 }, "configData": { "type": "ConfigData", "id": 3 } }, "nested": { "RackType": { "values": { "RACK_TYPE_UNSPECIFIED": 0, "BASE": 1, "EXPANSION": 2 } } } }, "ConfigData": { "fields": { "availableExternalLbPoolsIpv4": { "rule": "repeated", "type": "string", "id": 1 }, "availableExternalLbPoolsIpv6": { "rule": "repeated", "type": "string", "id": 2 } } }, "Quota": { "fields": { "metric": { "type": "string", "id": 1 }, "limit": { "type": "double", "id": 2 }, "usage": { "type": "double", "id": 3 } } }, "MaintenancePolicy": { "fields": { "window": { "type": "MaintenanceWindow", "id": 1 }, "maintenanceExclusions": { "rule": "repeated", "type": "MaintenanceExclusionWindow", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "MaintenanceWindow": { "fields": { "recurringWindow": { "type": "RecurringTimeWindow", "id": 1 } } }, "RecurringTimeWindow": { "fields": { "window": { "type": "TimeWindow", "id": 1 }, "recurrence": { "type": "string", "id": 2 } } }, "MaintenanceExclusionWindow": { "fields": { "window": { "type": "TimeWindow", "id": 1, "options": { "(google.api.field_behavior)": "OPTIONAL" } }, "id": { "type": "string", "id": 2, "options": { "(google.api.field_behavior)": "OPTIONAL" } } } }, "TimeWindow": { "fields": { "startTime": { "type": "google.protobuf.Timestamp", "id": 1 }, "endTime": { "type": "google.protobuf.Timestamp", "id": 2 } } }, "ServerConfig": { "fields": { "channels": { "keyType": "string", "type": "ChannelConfig", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "versions": { "rule": "repeated", "type": "Version", "id": 2, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } }, "defaultVersion": { "type": "string", "id": 3, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "ChannelConfig": { "fields": { "defaultVersion": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "Version": { "fields": { "name": { "type": "string", "id": 1, "options": { "(google.api.field_behavior)": "OUTPUT_ONLY" } } } }, "EdgeContainer": { "options": { "(google.api.default_host)": "edgecontainer.googleapis.com", "(google.api.oauth_scopes)": "https://www.googleapis.com/auth/cloud-platform" }, "methods": { "ListClusters": { "requestType": "ListClustersRequest", "responseType": "ListClustersResponse", "options": { "(google.api.http).get": "/v1/{parent=projects/*/locations/*}/clusters", "(google.api.method_signature)": "parent" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{parent=projects/*/locations/*}/clusters" } }, { "(google.api.method_signature)": "parent" } ] }, "GetCluster": { "requestType": "GetClusterRequest", "responseType": "Cluster", "options": { "(google.api.http).get": "/v1/{name=projects/*/locations/*/clusters/*}", "(google.api.method_signature)": "name" }, "parsedOptions": [ { "(google.api.http)": { "get": "/v1/{name=projects/*/locations/*/clusters/*}" } }, { "(google.api.method_signature)": "name" } ] }, "CreateCluster": { "requestType": "CreateClusterRequest", "responseType": "google.longrunning.Operation", "options": { "(google.api.http).post": "/v1/{parent=projects/*/locations/*}/clusters", "(google.api.http).body": "cluster", "(google.api.method_signature)": "parent,cluster,cluster_id", "(google.longrunning.operation_info).response_type": "Cluster", "(google.longrunning.operation_info).metadata_type": "OperationMetadata" }, "parsedOptions": [ { "(google.api.http)": { "post": "/v1/{parent=projects/*/locations/*}/clusters", "body": "cluster" } }, { "(google.api.method_signature)": "parent,cluster,cluster_id" }, { "(google.longrunning.operation_info)": { "response_type": "Cluster", "metadata_type": "OperationMetadat