Autogenerated update (2018-06-03)
Update: - compute_alpha - compute_beta - compute_v1 - logging_v2 - tpu_v1 - tpu_v1alpha1
This commit is contained in:
parent
c88b21f9a9
commit
ac7d000859
|
@ -17019,6 +17019,7 @@
|
|||
"/compute:alpha/AttachedDiskInitializeParams/labels/label": label
|
||||
"/compute:alpha/AttachedDiskInitializeParams/sourceImage": source_image
|
||||
"/compute:alpha/AttachedDiskInitializeParams/sourceImageEncryptionKey": source_image_encryption_key
|
||||
"/compute:alpha/AttachedDiskInitializeParams/sourceSnapshot": source_snapshot
|
||||
"/compute:alpha/AuditConfig": audit_config
|
||||
"/compute:alpha/AuditConfig/auditLogConfigs": audit_log_configs
|
||||
"/compute:alpha/AuditConfig/auditLogConfigs/audit_log_config": audit_log_config
|
||||
|
@ -17223,8 +17224,13 @@
|
|||
"/compute:alpha/BackendServiceIAP": backend_service_iap
|
||||
"/compute:alpha/BackendServiceIAP/enabled": enabled
|
||||
"/compute:alpha/BackendServiceIAP/oauth2ClientId": oauth2_client_id
|
||||
"/compute:alpha/BackendServiceIAP/oauth2ClientInfo": oauth2_client_info
|
||||
"/compute:alpha/BackendServiceIAP/oauth2ClientSecret": oauth2_client_secret
|
||||
"/compute:alpha/BackendServiceIAP/oauth2ClientSecretSha256": oauth2_client_secret_sha256
|
||||
"/compute:alpha/BackendServiceIAPOAuth2ClientInfo": backend_service_iapo_auth2_client_info
|
||||
"/compute:alpha/BackendServiceIAPOAuth2ClientInfo/applicationName": application_name
|
||||
"/compute:alpha/BackendServiceIAPOAuth2ClientInfo/clientName": client_name
|
||||
"/compute:alpha/BackendServiceIAPOAuth2ClientInfo/developerEmailAddress": developer_email_address
|
||||
"/compute:alpha/BackendServiceList": backend_service_list
|
||||
"/compute:alpha/BackendServiceList/id": id
|
||||
"/compute:alpha/BackendServiceList/items": items
|
||||
|
@ -17984,6 +17990,7 @@
|
|||
"/compute:alpha/Instance/serviceAccounts/service_account": service_account
|
||||
"/compute:alpha/Instance/shieldedVmConfig": shielded_vm_config
|
||||
"/compute:alpha/Instance/shieldedVmIntegrityPolicy": shielded_vm_integrity_policy
|
||||
"/compute:alpha/Instance/sourceMachineImage": source_machine_image
|
||||
"/compute:alpha/Instance/startRestricted": start_restricted
|
||||
"/compute:alpha/Instance/status": status
|
||||
"/compute:alpha/Instance/statusMessage": status_message
|
||||
|
@ -18939,12 +18946,15 @@
|
|||
"/compute:alpha/NodeGroupNode/index": index
|
||||
"/compute:alpha/NodeGroupNode/instances": instances
|
||||
"/compute:alpha/NodeGroupNode/instances/instance": instance
|
||||
"/compute:alpha/NodeGroupNode/name": name
|
||||
"/compute:alpha/NodeGroupNode/nodeType": node_type
|
||||
"/compute:alpha/NodeGroupsAddNodesRequest": node_groups_add_nodes_request
|
||||
"/compute:alpha/NodeGroupsAddNodesRequest/additionalNodeCount": additional_node_count
|
||||
"/compute:alpha/NodeGroupsDeleteNodesRequest": node_groups_delete_nodes_request
|
||||
"/compute:alpha/NodeGroupsDeleteNodesRequest/nodeIndexes": node_indexes
|
||||
"/compute:alpha/NodeGroupsDeleteNodesRequest/nodeIndexes/node_index": node_index
|
||||
"/compute:alpha/NodeGroupsDeleteNodesRequest/nodes": nodes
|
||||
"/compute:alpha/NodeGroupsDeleteNodesRequest/nodes/node": node
|
||||
"/compute:alpha/NodeGroupsScopedList": node_groups_scoped_list
|
||||
"/compute:alpha/NodeGroupsScopedList/nodeGroups": node_groups
|
||||
"/compute:alpha/NodeGroupsScopedList/nodeGroups/node_group": node_group
|
||||
|
@ -19696,6 +19706,9 @@
|
|||
"/compute:alpha/SecurityPolicy/fingerprint": fingerprint
|
||||
"/compute:alpha/SecurityPolicy/id": id
|
||||
"/compute:alpha/SecurityPolicy/kind": kind
|
||||
"/compute:alpha/SecurityPolicy/labelFingerprint": label_fingerprint
|
||||
"/compute:alpha/SecurityPolicy/labels": labels
|
||||
"/compute:alpha/SecurityPolicy/labels/label": label
|
||||
"/compute:alpha/SecurityPolicy/name": name
|
||||
"/compute:alpha/SecurityPolicy/rules": rules
|
||||
"/compute:alpha/SecurityPolicy/rules/rule": rule
|
||||
|
@ -22521,6 +22534,9 @@
|
|||
"/compute:alpha/compute.securityPolicies.removeRule/priority": priority
|
||||
"/compute:alpha/compute.securityPolicies.removeRule/project": project
|
||||
"/compute:alpha/compute.securityPolicies.removeRule/securityPolicy": security_policy
|
||||
"/compute:alpha/compute.securityPolicies.setLabels": set_security_policy_labels
|
||||
"/compute:alpha/compute.securityPolicies.setLabels/project": project
|
||||
"/compute:alpha/compute.securityPolicies.setLabels/resource": resource
|
||||
"/compute:alpha/compute.securityPolicies.testIamPermissions": test_security_policy_iam_permissions
|
||||
"/compute:alpha/compute.securityPolicies.testIamPermissions/project": project
|
||||
"/compute:alpha/compute.securityPolicies.testIamPermissions/resource": resource
|
||||
|
@ -23644,6 +23660,7 @@
|
|||
"/compute:beta/Firewall/destinationRanges/destination_range": destination_range
|
||||
"/compute:beta/Firewall/direction": direction
|
||||
"/compute:beta/Firewall/disabled": disabled
|
||||
"/compute:beta/Firewall/enableLogging": enable_logging
|
||||
"/compute:beta/Firewall/id": id
|
||||
"/compute:beta/Firewall/kind": kind
|
||||
"/compute:beta/Firewall/name": name
|
||||
|
@ -23943,6 +23960,8 @@
|
|||
"/compute:beta/Instance/selfLink": self_link
|
||||
"/compute:beta/Instance/serviceAccounts": service_accounts
|
||||
"/compute:beta/Instance/serviceAccounts/service_account": service_account
|
||||
"/compute:beta/Instance/shieldedVmConfig": shielded_vm_config
|
||||
"/compute:beta/Instance/shieldedVmIntegrityPolicy": shielded_vm_integrity_policy
|
||||
"/compute:beta/Instance/startRestricted": start_restricted
|
||||
"/compute:beta/Instance/status": status
|
||||
"/compute:beta/Instance/statusMessage": status_message
|
||||
|
@ -24208,6 +24227,7 @@
|
|||
"/compute:beta/InstanceProperties/scheduling": scheduling
|
||||
"/compute:beta/InstanceProperties/serviceAccounts": service_accounts
|
||||
"/compute:beta/InstanceProperties/serviceAccounts/service_account": service_account
|
||||
"/compute:beta/InstanceProperties/shieldedVmConfig": shielded_vm_config
|
||||
"/compute:beta/InstanceProperties/tags": tags
|
||||
"/compute:beta/InstanceReference": instance_reference
|
||||
"/compute:beta/InstanceReference/instance": instance
|
||||
|
@ -24620,6 +24640,175 @@
|
|||
"/compute:beta/NetworksAddPeeringRequest/peerNetwork": peer_network
|
||||
"/compute:beta/NetworksRemovePeeringRequest": networks_remove_peering_request
|
||||
"/compute:beta/NetworksRemovePeeringRequest/name": name
|
||||
"/compute:beta/NodeGroup": node_group
|
||||
"/compute:beta/NodeGroup/creationTimestamp": creation_timestamp
|
||||
"/compute:beta/NodeGroup/description": description
|
||||
"/compute:beta/NodeGroup/id": id
|
||||
"/compute:beta/NodeGroup/kind": kind
|
||||
"/compute:beta/NodeGroup/name": name
|
||||
"/compute:beta/NodeGroup/nodeTemplate": node_template
|
||||
"/compute:beta/NodeGroup/nodes": nodes
|
||||
"/compute:beta/NodeGroup/nodes/node": node
|
||||
"/compute:beta/NodeGroup/selfLink": self_link
|
||||
"/compute:beta/NodeGroup/status": status
|
||||
"/compute:beta/NodeGroup/zone": zone
|
||||
"/compute:beta/NodeGroupAggregatedList": node_group_aggregated_list
|
||||
"/compute:beta/NodeGroupAggregatedList/id": id
|
||||
"/compute:beta/NodeGroupAggregatedList/items": items
|
||||
"/compute:beta/NodeGroupAggregatedList/items/item": item
|
||||
"/compute:beta/NodeGroupAggregatedList/kind": kind
|
||||
"/compute:beta/NodeGroupAggregatedList/nextPageToken": next_page_token
|
||||
"/compute:beta/NodeGroupAggregatedList/selfLink": self_link
|
||||
"/compute:beta/NodeGroupAggregatedList/warning": warning
|
||||
"/compute:beta/NodeGroupAggregatedList/warning/code": code
|
||||
"/compute:beta/NodeGroupAggregatedList/warning/data": data
|
||||
"/compute:beta/NodeGroupAggregatedList/warning/data/datum": datum
|
||||
"/compute:beta/NodeGroupAggregatedList/warning/data/datum/key": key
|
||||
"/compute:beta/NodeGroupAggregatedList/warning/data/datum/value": value
|
||||
"/compute:beta/NodeGroupAggregatedList/warning/message": message
|
||||
"/compute:beta/NodeGroupList": node_group_list
|
||||
"/compute:beta/NodeGroupList/id": id
|
||||
"/compute:beta/NodeGroupList/items": items
|
||||
"/compute:beta/NodeGroupList/items/item": item
|
||||
"/compute:beta/NodeGroupList/kind": kind
|
||||
"/compute:beta/NodeGroupList/nextPageToken": next_page_token
|
||||
"/compute:beta/NodeGroupList/selfLink": self_link
|
||||
"/compute:beta/NodeGroupList/warning": warning
|
||||
"/compute:beta/NodeGroupList/warning/code": code
|
||||
"/compute:beta/NodeGroupList/warning/data": data
|
||||
"/compute:beta/NodeGroupList/warning/data/datum": datum
|
||||
"/compute:beta/NodeGroupList/warning/data/datum/key": key
|
||||
"/compute:beta/NodeGroupList/warning/data/datum/value": value
|
||||
"/compute:beta/NodeGroupList/warning/message": message
|
||||
"/compute:beta/NodeGroupNode": node_group_node
|
||||
"/compute:beta/NodeGroupNode/instances": instances
|
||||
"/compute:beta/NodeGroupNode/instances/instance": instance
|
||||
"/compute:beta/NodeGroupNode/name": name
|
||||
"/compute:beta/NodeGroupNode/nodeType": node_type
|
||||
"/compute:beta/NodeGroupsAddNodesRequest": node_groups_add_nodes_request
|
||||
"/compute:beta/NodeGroupsAddNodesRequest/additionalNodeCount": additional_node_count
|
||||
"/compute:beta/NodeGroupsDeleteNodesRequest": node_groups_delete_nodes_request
|
||||
"/compute:beta/NodeGroupsDeleteNodesRequest/nodes": nodes
|
||||
"/compute:beta/NodeGroupsDeleteNodesRequest/nodes/node": node
|
||||
"/compute:beta/NodeGroupsScopedList": node_groups_scoped_list
|
||||
"/compute:beta/NodeGroupsScopedList/nodeGroups": node_groups
|
||||
"/compute:beta/NodeGroupsScopedList/nodeGroups/node_group": node_group
|
||||
"/compute:beta/NodeGroupsScopedList/warning": warning
|
||||
"/compute:beta/NodeGroupsScopedList/warning/code": code
|
||||
"/compute:beta/NodeGroupsScopedList/warning/data": data
|
||||
"/compute:beta/NodeGroupsScopedList/warning/data/datum": datum
|
||||
"/compute:beta/NodeGroupsScopedList/warning/data/datum/key": key
|
||||
"/compute:beta/NodeGroupsScopedList/warning/data/datum/value": value
|
||||
"/compute:beta/NodeGroupsScopedList/warning/message": message
|
||||
"/compute:beta/NodeGroupsSetNodeTemplateRequest": node_groups_set_node_template_request
|
||||
"/compute:beta/NodeGroupsSetNodeTemplateRequest/nodeTemplate": node_template
|
||||
"/compute:beta/NodeTemplate": node_template
|
||||
"/compute:beta/NodeTemplate/creationTimestamp": creation_timestamp
|
||||
"/compute:beta/NodeTemplate/description": description
|
||||
"/compute:beta/NodeTemplate/id": id
|
||||
"/compute:beta/NodeTemplate/kind": kind
|
||||
"/compute:beta/NodeTemplate/name": name
|
||||
"/compute:beta/NodeTemplate/nodeAffinityLabels": node_affinity_labels
|
||||
"/compute:beta/NodeTemplate/nodeAffinityLabels/node_affinity_label": node_affinity_label
|
||||
"/compute:beta/NodeTemplate/nodeType": node_type
|
||||
"/compute:beta/NodeTemplate/nodeTypeFlexibility": node_type_flexibility
|
||||
"/compute:beta/NodeTemplate/region": region
|
||||
"/compute:beta/NodeTemplate/selfLink": self_link
|
||||
"/compute:beta/NodeTemplate/status": status
|
||||
"/compute:beta/NodeTemplate/statusMessage": status_message
|
||||
"/compute:beta/NodeTemplateAggregatedList": node_template_aggregated_list
|
||||
"/compute:beta/NodeTemplateAggregatedList/id": id
|
||||
"/compute:beta/NodeTemplateAggregatedList/items": items
|
||||
"/compute:beta/NodeTemplateAggregatedList/items/item": item
|
||||
"/compute:beta/NodeTemplateAggregatedList/kind": kind
|
||||
"/compute:beta/NodeTemplateAggregatedList/nextPageToken": next_page_token
|
||||
"/compute:beta/NodeTemplateAggregatedList/selfLink": self_link
|
||||
"/compute:beta/NodeTemplateAggregatedList/warning": warning
|
||||
"/compute:beta/NodeTemplateAggregatedList/warning/code": code
|
||||
"/compute:beta/NodeTemplateAggregatedList/warning/data": data
|
||||
"/compute:beta/NodeTemplateAggregatedList/warning/data/datum": datum
|
||||
"/compute:beta/NodeTemplateAggregatedList/warning/data/datum/key": key
|
||||
"/compute:beta/NodeTemplateAggregatedList/warning/data/datum/value": value
|
||||
"/compute:beta/NodeTemplateAggregatedList/warning/message": message
|
||||
"/compute:beta/NodeTemplateList": node_template_list
|
||||
"/compute:beta/NodeTemplateList/id": id
|
||||
"/compute:beta/NodeTemplateList/items": items
|
||||
"/compute:beta/NodeTemplateList/items/item": item
|
||||
"/compute:beta/NodeTemplateList/kind": kind
|
||||
"/compute:beta/NodeTemplateList/nextPageToken": next_page_token
|
||||
"/compute:beta/NodeTemplateList/selfLink": self_link
|
||||
"/compute:beta/NodeTemplateList/warning": warning
|
||||
"/compute:beta/NodeTemplateList/warning/code": code
|
||||
"/compute:beta/NodeTemplateList/warning/data": data
|
||||
"/compute:beta/NodeTemplateList/warning/data/datum": datum
|
||||
"/compute:beta/NodeTemplateList/warning/data/datum/key": key
|
||||
"/compute:beta/NodeTemplateList/warning/data/datum/value": value
|
||||
"/compute:beta/NodeTemplateList/warning/message": message
|
||||
"/compute:beta/NodeTemplateNodeTypeFlexibility": node_template_node_type_flexibility
|
||||
"/compute:beta/NodeTemplateNodeTypeFlexibility/cpus": cpus
|
||||
"/compute:beta/NodeTemplateNodeTypeFlexibility/localSsd": local_ssd
|
||||
"/compute:beta/NodeTemplateNodeTypeFlexibility/memory": memory
|
||||
"/compute:beta/NodeTemplatesScopedList": node_templates_scoped_list
|
||||
"/compute:beta/NodeTemplatesScopedList/nodeTemplates": node_templates
|
||||
"/compute:beta/NodeTemplatesScopedList/nodeTemplates/node_template": node_template
|
||||
"/compute:beta/NodeTemplatesScopedList/warning": warning
|
||||
"/compute:beta/NodeTemplatesScopedList/warning/code": code
|
||||
"/compute:beta/NodeTemplatesScopedList/warning/data": data
|
||||
"/compute:beta/NodeTemplatesScopedList/warning/data/datum": datum
|
||||
"/compute:beta/NodeTemplatesScopedList/warning/data/datum/key": key
|
||||
"/compute:beta/NodeTemplatesScopedList/warning/data/datum/value": value
|
||||
"/compute:beta/NodeTemplatesScopedList/warning/message": message
|
||||
"/compute:beta/NodeType": node_type
|
||||
"/compute:beta/NodeType/cpuPlatform": cpu_platform
|
||||
"/compute:beta/NodeType/creationTimestamp": creation_timestamp
|
||||
"/compute:beta/NodeType/deprecated": deprecated
|
||||
"/compute:beta/NodeType/description": description
|
||||
"/compute:beta/NodeType/guestCpus": guest_cpus
|
||||
"/compute:beta/NodeType/id": id
|
||||
"/compute:beta/NodeType/kind": kind
|
||||
"/compute:beta/NodeType/localSsdGb": local_ssd_gb
|
||||
"/compute:beta/NodeType/memoryMb": memory_mb
|
||||
"/compute:beta/NodeType/name": name
|
||||
"/compute:beta/NodeType/selfLink": self_link
|
||||
"/compute:beta/NodeType/zone": zone
|
||||
"/compute:beta/NodeTypeAggregatedList": node_type_aggregated_list
|
||||
"/compute:beta/NodeTypeAggregatedList/id": id
|
||||
"/compute:beta/NodeTypeAggregatedList/items": items
|
||||
"/compute:beta/NodeTypeAggregatedList/items/item": item
|
||||
"/compute:beta/NodeTypeAggregatedList/kind": kind
|
||||
"/compute:beta/NodeTypeAggregatedList/nextPageToken": next_page_token
|
||||
"/compute:beta/NodeTypeAggregatedList/selfLink": self_link
|
||||
"/compute:beta/NodeTypeAggregatedList/warning": warning
|
||||
"/compute:beta/NodeTypeAggregatedList/warning/code": code
|
||||
"/compute:beta/NodeTypeAggregatedList/warning/data": data
|
||||
"/compute:beta/NodeTypeAggregatedList/warning/data/datum": datum
|
||||
"/compute:beta/NodeTypeAggregatedList/warning/data/datum/key": key
|
||||
"/compute:beta/NodeTypeAggregatedList/warning/data/datum/value": value
|
||||
"/compute:beta/NodeTypeAggregatedList/warning/message": message
|
||||
"/compute:beta/NodeTypeList": node_type_list
|
||||
"/compute:beta/NodeTypeList/id": id
|
||||
"/compute:beta/NodeTypeList/items": items
|
||||
"/compute:beta/NodeTypeList/items/item": item
|
||||
"/compute:beta/NodeTypeList/kind": kind
|
||||
"/compute:beta/NodeTypeList/nextPageToken": next_page_token
|
||||
"/compute:beta/NodeTypeList/selfLink": self_link
|
||||
"/compute:beta/NodeTypeList/warning": warning
|
||||
"/compute:beta/NodeTypeList/warning/code": code
|
||||
"/compute:beta/NodeTypeList/warning/data": data
|
||||
"/compute:beta/NodeTypeList/warning/data/datum": datum
|
||||
"/compute:beta/NodeTypeList/warning/data/datum/key": key
|
||||
"/compute:beta/NodeTypeList/warning/data/datum/value": value
|
||||
"/compute:beta/NodeTypeList/warning/message": message
|
||||
"/compute:beta/NodeTypesScopedList": node_types_scoped_list
|
||||
"/compute:beta/NodeTypesScopedList/nodeTypes": node_types
|
||||
"/compute:beta/NodeTypesScopedList/nodeTypes/node_type": node_type
|
||||
"/compute:beta/NodeTypesScopedList/warning": warning
|
||||
"/compute:beta/NodeTypesScopedList/warning/code": code
|
||||
"/compute:beta/NodeTypesScopedList/warning/data": data
|
||||
"/compute:beta/NodeTypesScopedList/warning/data/datum": datum
|
||||
"/compute:beta/NodeTypesScopedList/warning/data/datum/key": key
|
||||
"/compute:beta/NodeTypesScopedList/warning/data/datum/value": value
|
||||
"/compute:beta/NodeTypesScopedList/warning/message": message
|
||||
"/compute:beta/Operation": operation
|
||||
"/compute:beta/Operation/clientOperationId": client_operation_id
|
||||
"/compute:beta/Operation/creationTimestamp": creation_timestamp
|
||||
|
@ -25061,8 +25250,15 @@
|
|||
"/compute:beta/SSLHealthCheck/response": response
|
||||
"/compute:beta/Scheduling": scheduling
|
||||
"/compute:beta/Scheduling/automaticRestart": automatic_restart
|
||||
"/compute:beta/Scheduling/nodeAffinities": node_affinities
|
||||
"/compute:beta/Scheduling/nodeAffinities/node_affinity": node_affinity
|
||||
"/compute:beta/Scheduling/onHostMaintenance": on_host_maintenance
|
||||
"/compute:beta/Scheduling/preemptible": preemptible
|
||||
"/compute:beta/SchedulingNodeAffinity": scheduling_node_affinity
|
||||
"/compute:beta/SchedulingNodeAffinity/key": key
|
||||
"/compute:beta/SchedulingNodeAffinity/operator": operator
|
||||
"/compute:beta/SchedulingNodeAffinity/values": values
|
||||
"/compute:beta/SchedulingNodeAffinity/values/value": value
|
||||
"/compute:beta/SecurityPoliciesList": security_policies_list
|
||||
"/compute:beta/SecurityPoliciesList/id": id
|
||||
"/compute:beta/SecurityPoliciesList/items": items
|
||||
|
@ -25120,6 +25316,12 @@
|
|||
"/compute:beta/ServiceAccount/email": email
|
||||
"/compute:beta/ServiceAccount/scopes": scopes
|
||||
"/compute:beta/ServiceAccount/scopes/scope": scope
|
||||
"/compute:beta/ShieldedVmConfig": shielded_vm_config
|
||||
"/compute:beta/ShieldedVmConfig/enableIntegrityMonitoring": enable_integrity_monitoring
|
||||
"/compute:beta/ShieldedVmConfig/enableSecureBoot": enable_secure_boot
|
||||
"/compute:beta/ShieldedVmConfig/enableVtpm": enable_vtpm
|
||||
"/compute:beta/ShieldedVmIntegrityPolicy": shielded_vm_integrity_policy
|
||||
"/compute:beta/ShieldedVmIntegrityPolicy/updateAutoLearnPolicy": update_auto_learn_policy
|
||||
"/compute:beta/SignedUrlKey": signed_url_key
|
||||
"/compute:beta/SignedUrlKey/keyName": key_name
|
||||
"/compute:beta/SignedUrlKey/keyValue": key_value
|
||||
|
@ -25651,7 +25853,12 @@
|
|||
"/compute:beta/UsableSubnetwork": usable_subnetwork
|
||||
"/compute:beta/UsableSubnetwork/ipCidrRange": ip_cidr_range
|
||||
"/compute:beta/UsableSubnetwork/network": network
|
||||
"/compute:beta/UsableSubnetwork/secondaryIpRanges": secondary_ip_ranges
|
||||
"/compute:beta/UsableSubnetwork/secondaryIpRanges/secondary_ip_range": secondary_ip_range
|
||||
"/compute:beta/UsableSubnetwork/subnetwork": subnetwork
|
||||
"/compute:beta/UsableSubnetworkSecondaryRange": usable_subnetwork_secondary_range
|
||||
"/compute:beta/UsableSubnetworkSecondaryRange/ipCidrRange": ip_cidr_range
|
||||
"/compute:beta/UsableSubnetworkSecondaryRange/rangeName": range_name
|
||||
"/compute:beta/UsableSubnetworksAggregatedList": usable_subnetworks_aggregated_list
|
||||
"/compute:beta/UsableSubnetworksAggregatedList/id": id
|
||||
"/compute:beta/UsableSubnetworksAggregatedList/items": items
|
||||
|
@ -25777,6 +25984,11 @@
|
|||
"/compute:beta/ZoneSetLabelsRequest/labelFingerprint": label_fingerprint
|
||||
"/compute:beta/ZoneSetLabelsRequest/labels": labels
|
||||
"/compute:beta/ZoneSetLabelsRequest/labels/label": label
|
||||
"/compute:beta/ZoneSetPolicyRequest": zone_set_policy_request
|
||||
"/compute:beta/ZoneSetPolicyRequest/bindings": bindings
|
||||
"/compute:beta/ZoneSetPolicyRequest/bindings/binding": binding
|
||||
"/compute:beta/ZoneSetPolicyRequest/etag": etag
|
||||
"/compute:beta/ZoneSetPolicyRequest/policy": policy
|
||||
"/compute:beta/compute.acceleratorTypes.aggregatedList": aggregated_accelerator_type_list
|
||||
"/compute:beta/compute.acceleratorTypes.aggregatedList/filter": filter
|
||||
"/compute:beta/compute.acceleratorTypes.aggregatedList/maxResults": max_results
|
||||
|
@ -26539,6 +26751,11 @@
|
|||
"/compute:beta/compute.instances.setServiceAccount/project": project
|
||||
"/compute:beta/compute.instances.setServiceAccount/requestId": request_id
|
||||
"/compute:beta/compute.instances.setServiceAccount/zone": zone
|
||||
"/compute:beta/compute.instances.setShieldedVmIntegrityPolicy": set_instance_shielded_vm_integrity_policy
|
||||
"/compute:beta/compute.instances.setShieldedVmIntegrityPolicy/instance": instance
|
||||
"/compute:beta/compute.instances.setShieldedVmIntegrityPolicy/project": project
|
||||
"/compute:beta/compute.instances.setShieldedVmIntegrityPolicy/requestId": request_id
|
||||
"/compute:beta/compute.instances.setShieldedVmIntegrityPolicy/zone": zone
|
||||
"/compute:beta/compute.instances.setTags": set_instance_tags
|
||||
"/compute:beta/compute.instances.setTags/instance": instance
|
||||
"/compute:beta/compute.instances.setTags/project": project
|
||||
|
@ -26579,6 +26796,11 @@
|
|||
"/compute:beta/compute.instances.updateNetworkInterface/project": project
|
||||
"/compute:beta/compute.instances.updateNetworkInterface/requestId": request_id
|
||||
"/compute:beta/compute.instances.updateNetworkInterface/zone": zone
|
||||
"/compute:beta/compute.instances.updateShieldedVmConfig": update_instance_shielded_vm_config
|
||||
"/compute:beta/compute.instances.updateShieldedVmConfig/instance": instance
|
||||
"/compute:beta/compute.instances.updateShieldedVmConfig/project": project
|
||||
"/compute:beta/compute.instances.updateShieldedVmConfig/requestId": request_id
|
||||
"/compute:beta/compute.instances.updateShieldedVmConfig/zone": zone
|
||||
"/compute:beta/compute.interconnectAttachments.aggregatedList": aggregated_interconnect_attachment_list
|
||||
"/compute:beta/compute.interconnectAttachments.aggregatedList/filter": filter
|
||||
"/compute:beta/compute.interconnectAttachments.aggregatedList/maxResults": max_results
|
||||
|
@ -26725,6 +26947,115 @@
|
|||
"/compute:beta/compute.networks.testIamPermissions": test_network_iam_permissions
|
||||
"/compute:beta/compute.networks.testIamPermissions/project": project
|
||||
"/compute:beta/compute.networks.testIamPermissions/resource": resource
|
||||
"/compute:beta/compute.nodeGroups.addNodes": add_node_group_nodes
|
||||
"/compute:beta/compute.nodeGroups.addNodes/nodeGroup": node_group
|
||||
"/compute:beta/compute.nodeGroups.addNodes/project": project
|
||||
"/compute:beta/compute.nodeGroups.addNodes/requestId": request_id
|
||||
"/compute:beta/compute.nodeGroups.addNodes/zone": zone
|
||||
"/compute:beta/compute.nodeGroups.aggregatedList": aggregated_node_group_list
|
||||
"/compute:beta/compute.nodeGroups.aggregatedList/filter": filter
|
||||
"/compute:beta/compute.nodeGroups.aggregatedList/maxResults": max_results
|
||||
"/compute:beta/compute.nodeGroups.aggregatedList/orderBy": order_by
|
||||
"/compute:beta/compute.nodeGroups.aggregatedList/pageToken": page_token
|
||||
"/compute:beta/compute.nodeGroups.aggregatedList/project": project
|
||||
"/compute:beta/compute.nodeGroups.delete": delete_node_group
|
||||
"/compute:beta/compute.nodeGroups.delete/nodeGroup": node_group
|
||||
"/compute:beta/compute.nodeGroups.delete/project": project
|
||||
"/compute:beta/compute.nodeGroups.delete/requestId": request_id
|
||||
"/compute:beta/compute.nodeGroups.delete/zone": zone
|
||||
"/compute:beta/compute.nodeGroups.deleteNodes": delete_node_group_nodes
|
||||
"/compute:beta/compute.nodeGroups.deleteNodes/nodeGroup": node_group
|
||||
"/compute:beta/compute.nodeGroups.deleteNodes/project": project
|
||||
"/compute:beta/compute.nodeGroups.deleteNodes/requestId": request_id
|
||||
"/compute:beta/compute.nodeGroups.deleteNodes/zone": zone
|
||||
"/compute:beta/compute.nodeGroups.get": get_node_group
|
||||
"/compute:beta/compute.nodeGroups.get/nodeGroup": node_group
|
||||
"/compute:beta/compute.nodeGroups.get/project": project
|
||||
"/compute:beta/compute.nodeGroups.get/zone": zone
|
||||
"/compute:beta/compute.nodeGroups.getIamPolicy": get_node_group_iam_policy
|
||||
"/compute:beta/compute.nodeGroups.getIamPolicy/project": project
|
||||
"/compute:beta/compute.nodeGroups.getIamPolicy/resource": resource
|
||||
"/compute:beta/compute.nodeGroups.getIamPolicy/zone": zone
|
||||
"/compute:beta/compute.nodeGroups.insert": insert_node_group
|
||||
"/compute:beta/compute.nodeGroups.insert/initialNodeCount": initial_node_count
|
||||
"/compute:beta/compute.nodeGroups.insert/project": project
|
||||
"/compute:beta/compute.nodeGroups.insert/requestId": request_id
|
||||
"/compute:beta/compute.nodeGroups.insert/zone": zone
|
||||
"/compute:beta/compute.nodeGroups.list": list_node_groups
|
||||
"/compute:beta/compute.nodeGroups.list/filter": filter
|
||||
"/compute:beta/compute.nodeGroups.list/maxResults": max_results
|
||||
"/compute:beta/compute.nodeGroups.list/orderBy": order_by
|
||||
"/compute:beta/compute.nodeGroups.list/pageToken": page_token
|
||||
"/compute:beta/compute.nodeGroups.list/project": project
|
||||
"/compute:beta/compute.nodeGroups.list/zone": zone
|
||||
"/compute:beta/compute.nodeGroups.setIamPolicy": set_node_group_iam_policy
|
||||
"/compute:beta/compute.nodeGroups.setIamPolicy/project": project
|
||||
"/compute:beta/compute.nodeGroups.setIamPolicy/resource": resource
|
||||
"/compute:beta/compute.nodeGroups.setIamPolicy/zone": zone
|
||||
"/compute:beta/compute.nodeGroups.setNodeTemplate": set_node_group_node_template
|
||||
"/compute:beta/compute.nodeGroups.setNodeTemplate/nodeGroup": node_group
|
||||
"/compute:beta/compute.nodeGroups.setNodeTemplate/project": project
|
||||
"/compute:beta/compute.nodeGroups.setNodeTemplate/requestId": request_id
|
||||
"/compute:beta/compute.nodeGroups.setNodeTemplate/zone": zone
|
||||
"/compute:beta/compute.nodeGroups.testIamPermissions": test_node_group_iam_permissions
|
||||
"/compute:beta/compute.nodeGroups.testIamPermissions/project": project
|
||||
"/compute:beta/compute.nodeGroups.testIamPermissions/resource": resource
|
||||
"/compute:beta/compute.nodeGroups.testIamPermissions/zone": zone
|
||||
"/compute:beta/compute.nodeTemplates.aggregatedList": aggregated_node_template_list
|
||||
"/compute:beta/compute.nodeTemplates.aggregatedList/filter": filter
|
||||
"/compute:beta/compute.nodeTemplates.aggregatedList/maxResults": max_results
|
||||
"/compute:beta/compute.nodeTemplates.aggregatedList/orderBy": order_by
|
||||
"/compute:beta/compute.nodeTemplates.aggregatedList/pageToken": page_token
|
||||
"/compute:beta/compute.nodeTemplates.aggregatedList/project": project
|
||||
"/compute:beta/compute.nodeTemplates.delete": delete_node_template
|
||||
"/compute:beta/compute.nodeTemplates.delete/nodeTemplate": node_template
|
||||
"/compute:beta/compute.nodeTemplates.delete/project": project
|
||||
"/compute:beta/compute.nodeTemplates.delete/region": region
|
||||
"/compute:beta/compute.nodeTemplates.delete/requestId": request_id
|
||||
"/compute:beta/compute.nodeTemplates.get": get_node_template
|
||||
"/compute:beta/compute.nodeTemplates.get/nodeTemplate": node_template
|
||||
"/compute:beta/compute.nodeTemplates.get/project": project
|
||||
"/compute:beta/compute.nodeTemplates.get/region": region
|
||||
"/compute:beta/compute.nodeTemplates.getIamPolicy": get_node_template_iam_policy
|
||||
"/compute:beta/compute.nodeTemplates.getIamPolicy/project": project
|
||||
"/compute:beta/compute.nodeTemplates.getIamPolicy/region": region
|
||||
"/compute:beta/compute.nodeTemplates.getIamPolicy/resource": resource
|
||||
"/compute:beta/compute.nodeTemplates.insert": insert_node_template
|
||||
"/compute:beta/compute.nodeTemplates.insert/project": project
|
||||
"/compute:beta/compute.nodeTemplates.insert/region": region
|
||||
"/compute:beta/compute.nodeTemplates.insert/requestId": request_id
|
||||
"/compute:beta/compute.nodeTemplates.list": list_node_templates
|
||||
"/compute:beta/compute.nodeTemplates.list/filter": filter
|
||||
"/compute:beta/compute.nodeTemplates.list/maxResults": max_results
|
||||
"/compute:beta/compute.nodeTemplates.list/orderBy": order_by
|
||||
"/compute:beta/compute.nodeTemplates.list/pageToken": page_token
|
||||
"/compute:beta/compute.nodeTemplates.list/project": project
|
||||
"/compute:beta/compute.nodeTemplates.list/region": region
|
||||
"/compute:beta/compute.nodeTemplates.setIamPolicy": set_node_template_iam_policy
|
||||
"/compute:beta/compute.nodeTemplates.setIamPolicy/project": project
|
||||
"/compute:beta/compute.nodeTemplates.setIamPolicy/region": region
|
||||
"/compute:beta/compute.nodeTemplates.setIamPolicy/resource": resource
|
||||
"/compute:beta/compute.nodeTemplates.testIamPermissions": test_node_template_iam_permissions
|
||||
"/compute:beta/compute.nodeTemplates.testIamPermissions/project": project
|
||||
"/compute:beta/compute.nodeTemplates.testIamPermissions/region": region
|
||||
"/compute:beta/compute.nodeTemplates.testIamPermissions/resource": resource
|
||||
"/compute:beta/compute.nodeTypes.aggregatedList": aggregated_node_type_list
|
||||
"/compute:beta/compute.nodeTypes.aggregatedList/filter": filter
|
||||
"/compute:beta/compute.nodeTypes.aggregatedList/maxResults": max_results
|
||||
"/compute:beta/compute.nodeTypes.aggregatedList/orderBy": order_by
|
||||
"/compute:beta/compute.nodeTypes.aggregatedList/pageToken": page_token
|
||||
"/compute:beta/compute.nodeTypes.aggregatedList/project": project
|
||||
"/compute:beta/compute.nodeTypes.get": get_node_type
|
||||
"/compute:beta/compute.nodeTypes.get/nodeType": node_type
|
||||
"/compute:beta/compute.nodeTypes.get/project": project
|
||||
"/compute:beta/compute.nodeTypes.get/zone": zone
|
||||
"/compute:beta/compute.nodeTypes.list": list_node_types
|
||||
"/compute:beta/compute.nodeTypes.list/filter": filter
|
||||
"/compute:beta/compute.nodeTypes.list/maxResults": max_results
|
||||
"/compute:beta/compute.nodeTypes.list/orderBy": order_by
|
||||
"/compute:beta/compute.nodeTypes.list/pageToken": page_token
|
||||
"/compute:beta/compute.nodeTypes.list/project": project
|
||||
"/compute:beta/compute.nodeTypes.list/zone": zone
|
||||
"/compute:beta/compute.projects.disableXpnHost": disable_project_xpn_host
|
||||
"/compute:beta/compute.projects.disableXpnHost/project": project
|
||||
"/compute:beta/compute.projects.disableXpnHost/requestId": request_id
|
||||
|
@ -28740,21 +29071,33 @@
|
|||
"/compute:v1/Interconnect/provisionedLinkCount": provisioned_link_count
|
||||
"/compute:v1/Interconnect/requestedLinkCount": requested_link_count
|
||||
"/compute:v1/Interconnect/selfLink": self_link
|
||||
"/compute:v1/Interconnect/state": state
|
||||
"/compute:v1/InterconnectAttachment": interconnect_attachment
|
||||
"/compute:v1/InterconnectAttachment/adminEnabled": admin_enabled
|
||||
"/compute:v1/InterconnectAttachment/bandwidth": bandwidth
|
||||
"/compute:v1/InterconnectAttachment/candidateSubnets": candidate_subnets
|
||||
"/compute:v1/InterconnectAttachment/candidateSubnets/candidate_subnet": candidate_subnet
|
||||
"/compute:v1/InterconnectAttachment/cloudRouterIpAddress": cloud_router_ip_address
|
||||
"/compute:v1/InterconnectAttachment/creationTimestamp": creation_timestamp
|
||||
"/compute:v1/InterconnectAttachment/customerRouterIpAddress": customer_router_ip_address
|
||||
"/compute:v1/InterconnectAttachment/description": description
|
||||
"/compute:v1/InterconnectAttachment/edgeAvailabilityDomain": edge_availability_domain
|
||||
"/compute:v1/InterconnectAttachment/googleReferenceId": google_reference_id
|
||||
"/compute:v1/InterconnectAttachment/id": id
|
||||
"/compute:v1/InterconnectAttachment/interconnect": interconnect
|
||||
"/compute:v1/InterconnectAttachment/kind": kind
|
||||
"/compute:v1/InterconnectAttachment/name": name
|
||||
"/compute:v1/InterconnectAttachment/operationalStatus": operational_status
|
||||
"/compute:v1/InterconnectAttachment/pairingKey": pairing_key
|
||||
"/compute:v1/InterconnectAttachment/partnerAsn": partner_asn
|
||||
"/compute:v1/InterconnectAttachment/partnerMetadata": partner_metadata
|
||||
"/compute:v1/InterconnectAttachment/privateInterconnectInfo": private_interconnect_info
|
||||
"/compute:v1/InterconnectAttachment/region": region
|
||||
"/compute:v1/InterconnectAttachment/router": router
|
||||
"/compute:v1/InterconnectAttachment/selfLink": self_link
|
||||
"/compute:v1/InterconnectAttachment/state": state
|
||||
"/compute:v1/InterconnectAttachment/type": type
|
||||
"/compute:v1/InterconnectAttachment/vlanTag8021q": vlan_tag8021q
|
||||
"/compute:v1/InterconnectAttachmentAggregatedList": interconnect_attachment_aggregated_list
|
||||
"/compute:v1/InterconnectAttachmentAggregatedList/id": id
|
||||
"/compute:v1/InterconnectAttachmentAggregatedList/items": items
|
||||
|
@ -28783,6 +29126,10 @@
|
|||
"/compute:v1/InterconnectAttachmentList/warning/data/datum/key": key
|
||||
"/compute:v1/InterconnectAttachmentList/warning/data/datum/value": value
|
||||
"/compute:v1/InterconnectAttachmentList/warning/message": message
|
||||
"/compute:v1/InterconnectAttachmentPartnerMetadata": interconnect_attachment_partner_metadata
|
||||
"/compute:v1/InterconnectAttachmentPartnerMetadata/interconnectName": interconnect_name
|
||||
"/compute:v1/InterconnectAttachmentPartnerMetadata/partnerName": partner_name
|
||||
"/compute:v1/InterconnectAttachmentPartnerMetadata/portalUrl": portal_url
|
||||
"/compute:v1/InterconnectAttachmentPrivateInfo": interconnect_attachment_private_info
|
||||
"/compute:v1/InterconnectAttachmentPrivateInfo/tag8021q": tag8021q
|
||||
"/compute:v1/InterconnectAttachmentsScopedList": interconnect_attachments_scoped_list
|
||||
|
@ -29370,6 +29717,7 @@
|
|||
"/compute:v1/RouterBgpPeer/advertisedRoutePriority": advertised_route_priority
|
||||
"/compute:v1/RouterBgpPeer/interfaceName": interface_name
|
||||
"/compute:v1/RouterBgpPeer/ipAddress": ip_address
|
||||
"/compute:v1/RouterBgpPeer/managementType": management_type
|
||||
"/compute:v1/RouterBgpPeer/name": name
|
||||
"/compute:v1/RouterBgpPeer/peerAsn": peer_asn
|
||||
"/compute:v1/RouterBgpPeer/peerIpAddress": peer_ip_address
|
||||
|
@ -29377,6 +29725,7 @@
|
|||
"/compute:v1/RouterInterface/ipRange": ip_range
|
||||
"/compute:v1/RouterInterface/linkedInterconnectAttachment": linked_interconnect_attachment
|
||||
"/compute:v1/RouterInterface/linkedVpnTunnel": linked_vpn_tunnel
|
||||
"/compute:v1/RouterInterface/managementType": management_type
|
||||
"/compute:v1/RouterInterface/name": name
|
||||
"/compute:v1/RouterList": router_list
|
||||
"/compute:v1/RouterList/id": id
|
||||
|
@ -29640,6 +29989,8 @@
|
|||
"/compute:v1/TargetHttpProxyList/warning/data/datum/key": key
|
||||
"/compute:v1/TargetHttpProxyList/warning/data/datum/value": value
|
||||
"/compute:v1/TargetHttpProxyList/warning/message": message
|
||||
"/compute:v1/TargetHttpsProxiesSetQuicOverrideRequest": target_https_proxies_set_quic_override_request
|
||||
"/compute:v1/TargetHttpsProxiesSetQuicOverrideRequest/quicOverride": quic_override
|
||||
"/compute:v1/TargetHttpsProxiesSetSslCertificatesRequest": target_https_proxies_set_ssl_certificates_request
|
||||
"/compute:v1/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates": ssl_certificates
|
||||
"/compute:v1/TargetHttpsProxiesSetSslCertificatesRequest/sslCertificates/ssl_certificate": ssl_certificate
|
||||
|
@ -29649,6 +30000,7 @@
|
|||
"/compute:v1/TargetHttpsProxy/id": id
|
||||
"/compute:v1/TargetHttpsProxy/kind": kind
|
||||
"/compute:v1/TargetHttpsProxy/name": name
|
||||
"/compute:v1/TargetHttpsProxy/quicOverride": quic_override
|
||||
"/compute:v1/TargetHttpsProxy/selfLink": self_link
|
||||
"/compute:v1/TargetHttpsProxy/sslCertificates": ssl_certificates
|
||||
"/compute:v1/TargetHttpsProxy/sslCertificates/ssl_certificate": ssl_certificate
|
||||
|
@ -30776,6 +31128,11 @@
|
|||
"/compute:v1/compute.interconnectAttachments.list/pageToken": page_token
|
||||
"/compute:v1/compute.interconnectAttachments.list/project": project
|
||||
"/compute:v1/compute.interconnectAttachments.list/region": region
|
||||
"/compute:v1/compute.interconnectAttachments.patch": patch_interconnect_attachment
|
||||
"/compute:v1/compute.interconnectAttachments.patch/interconnectAttachment": interconnect_attachment
|
||||
"/compute:v1/compute.interconnectAttachments.patch/project": project
|
||||
"/compute:v1/compute.interconnectAttachments.patch/region": region
|
||||
"/compute:v1/compute.interconnectAttachments.patch/requestId": request_id
|
||||
"/compute:v1/compute.interconnectLocations.get": get_interconnect_location
|
||||
"/compute:v1/compute.interconnectLocations.get/interconnectLocation": interconnect_location
|
||||
"/compute:v1/compute.interconnectLocations.get/project": project
|
||||
|
@ -31357,6 +31714,10 @@
|
|||
"/compute:v1/compute.targetHttpsProxies.list/orderBy": order_by
|
||||
"/compute:v1/compute.targetHttpsProxies.list/pageToken": page_token
|
||||
"/compute:v1/compute.targetHttpsProxies.list/project": project
|
||||
"/compute:v1/compute.targetHttpsProxies.setQuicOverride": set_target_https_proxy_quic_override
|
||||
"/compute:v1/compute.targetHttpsProxies.setQuicOverride/project": project
|
||||
"/compute:v1/compute.targetHttpsProxies.setQuicOverride/requestId": request_id
|
||||
"/compute:v1/compute.targetHttpsProxies.setQuicOverride/targetHttpsProxy": target_https_proxy
|
||||
"/compute:v1/compute.targetHttpsProxies.setSslCertificates": set_target_https_proxy_ssl_certificates
|
||||
"/compute:v1/compute.targetHttpsProxies.setSslCertificates/project": project
|
||||
"/compute:v1/compute.targetHttpsProxies.setSslCertificates/requestId": request_id
|
||||
|
@ -78269,15 +78630,30 @@
|
|||
"/toolresults:v1beta3firstparty/toolresults.projects.initializeSettings": initialize_project_settings
|
||||
"/toolresults:v1beta3firstparty/toolresults.projects.initializeSettings/projectId": project_id
|
||||
"/toolresults:v1beta3firstparty/userIp": user_ip
|
||||
"/tpu:v1/AcceleratorType": accelerator_type
|
||||
"/tpu:v1/AcceleratorType/name": name
|
||||
"/tpu:v1/AcceleratorType/type": type
|
||||
"/tpu:v1/Empty": empty
|
||||
"/tpu:v1/ListAcceleratorTypesResponse": list_accelerator_types_response
|
||||
"/tpu:v1/ListAcceleratorTypesResponse/acceleratorTypes": accelerator_types
|
||||
"/tpu:v1/ListAcceleratorTypesResponse/acceleratorTypes/accelerator_type": accelerator_type
|
||||
"/tpu:v1/ListAcceleratorTypesResponse/nextPageToken": next_page_token
|
||||
"/tpu:v1/ListLocationsResponse": list_locations_response
|
||||
"/tpu:v1/ListLocationsResponse/locations": locations
|
||||
"/tpu:v1/ListLocationsResponse/locations/location": location
|
||||
"/tpu:v1/ListLocationsResponse/nextPageToken": next_page_token
|
||||
"/tpu:v1/ListNodesResponse": list_nodes_response
|
||||
"/tpu:v1/ListNodesResponse/nextPageToken": next_page_token
|
||||
"/tpu:v1/ListNodesResponse/nodes": nodes
|
||||
"/tpu:v1/ListNodesResponse/nodes/node": node
|
||||
"/tpu:v1/ListOperationsResponse": list_operations_response
|
||||
"/tpu:v1/ListOperationsResponse/nextPageToken": next_page_token
|
||||
"/tpu:v1/ListOperationsResponse/operations": operations
|
||||
"/tpu:v1/ListOperationsResponse/operations/operation": operation
|
||||
"/tpu:v1/ListTensorFlowVersionsResponse": list_tensor_flow_versions_response
|
||||
"/tpu:v1/ListTensorFlowVersionsResponse/nextPageToken": next_page_token
|
||||
"/tpu:v1/ListTensorFlowVersionsResponse/tensorflowVersions": tensorflow_versions
|
||||
"/tpu:v1/ListTensorFlowVersionsResponse/tensorflowVersions/tensorflow_version": tensorflow_version
|
||||
"/tpu:v1/Location": location
|
||||
"/tpu:v1/Location/displayName": display_name
|
||||
"/tpu:v1/Location/labels": labels
|
||||
|
@ -78286,6 +78662,28 @@
|
|||
"/tpu:v1/Location/metadata": metadata
|
||||
"/tpu:v1/Location/metadata/metadatum": metadatum
|
||||
"/tpu:v1/Location/name": name
|
||||
"/tpu:v1/NetworkEndpoint": network_endpoint
|
||||
"/tpu:v1/NetworkEndpoint/ipAddress": ip_address
|
||||
"/tpu:v1/NetworkEndpoint/port": port
|
||||
"/tpu:v1/Node": node
|
||||
"/tpu:v1/Node/acceleratorType": accelerator_type
|
||||
"/tpu:v1/Node/cidrBlock": cidr_block
|
||||
"/tpu:v1/Node/createTime": create_time
|
||||
"/tpu:v1/Node/description": description
|
||||
"/tpu:v1/Node/health": health
|
||||
"/tpu:v1/Node/healthDescription": health_description
|
||||
"/tpu:v1/Node/ipAddress": ip_address
|
||||
"/tpu:v1/Node/labels": labels
|
||||
"/tpu:v1/Node/labels/label": label
|
||||
"/tpu:v1/Node/name": name
|
||||
"/tpu:v1/Node/network": network
|
||||
"/tpu:v1/Node/networkEndpoints": network_endpoints
|
||||
"/tpu:v1/Node/networkEndpoints/network_endpoint": network_endpoint
|
||||
"/tpu:v1/Node/port": port
|
||||
"/tpu:v1/Node/schedulingConfig": scheduling_config
|
||||
"/tpu:v1/Node/serviceAccount": service_account
|
||||
"/tpu:v1/Node/state": state
|
||||
"/tpu:v1/Node/tensorflowVersion": tensorflow_version
|
||||
"/tpu:v1/Operation": operation
|
||||
"/tpu:v1/Operation/done": done
|
||||
"/tpu:v1/Operation/error": error
|
||||
|
@ -78302,15 +78700,33 @@
|
|||
"/tpu:v1/OperationMetadata/statusDetail": status_detail
|
||||
"/tpu:v1/OperationMetadata/target": target
|
||||
"/tpu:v1/OperationMetadata/verb": verb
|
||||
"/tpu:v1/ReimageNodeRequest": reimage_node_request
|
||||
"/tpu:v1/ReimageNodeRequest/tensorflowVersion": tensorflow_version
|
||||
"/tpu:v1/ResetNodeRequest": reset_node_request
|
||||
"/tpu:v1/SchedulingConfig": scheduling_config
|
||||
"/tpu:v1/SchedulingConfig/preemptible": preemptible
|
||||
"/tpu:v1/StartNodeRequest": start_node_request
|
||||
"/tpu:v1/Status": status
|
||||
"/tpu:v1/Status/code": code
|
||||
"/tpu:v1/Status/details": details
|
||||
"/tpu:v1/Status/details/detail": detail
|
||||
"/tpu:v1/Status/details/detail/detail": detail
|
||||
"/tpu:v1/Status/message": message
|
||||
"/tpu:v1/StopNodeRequest": stop_node_request
|
||||
"/tpu:v1/TensorFlowVersion": tensor_flow_version
|
||||
"/tpu:v1/TensorFlowVersion/name": name
|
||||
"/tpu:v1/TensorFlowVersion/version": version
|
||||
"/tpu:v1/fields": fields
|
||||
"/tpu:v1/key": key
|
||||
"/tpu:v1/quotaUser": quota_user
|
||||
"/tpu:v1/tpu.projects.locations.acceleratorTypes.get": get_project_location_accelerator_type
|
||||
"/tpu:v1/tpu.projects.locations.acceleratorTypes.get/name": name
|
||||
"/tpu:v1/tpu.projects.locations.acceleratorTypes.list": list_project_location_accelerator_types
|
||||
"/tpu:v1/tpu.projects.locations.acceleratorTypes.list/filter": filter
|
||||
"/tpu:v1/tpu.projects.locations.acceleratorTypes.list/orderBy": order_by
|
||||
"/tpu:v1/tpu.projects.locations.acceleratorTypes.list/pageSize": page_size
|
||||
"/tpu:v1/tpu.projects.locations.acceleratorTypes.list/pageToken": page_token
|
||||
"/tpu:v1/tpu.projects.locations.acceleratorTypes.list/parent": parent
|
||||
"/tpu:v1/tpu.projects.locations.get": get_project_location
|
||||
"/tpu:v1/tpu.projects.locations.get/name": name
|
||||
"/tpu:v1/tpu.projects.locations.list": list_project_locations
|
||||
|
@ -78318,6 +78734,25 @@
|
|||
"/tpu:v1/tpu.projects.locations.list/name": name
|
||||
"/tpu:v1/tpu.projects.locations.list/pageSize": page_size
|
||||
"/tpu:v1/tpu.projects.locations.list/pageToken": page_token
|
||||
"/tpu:v1/tpu.projects.locations.nodes.create": create_project_location_node
|
||||
"/tpu:v1/tpu.projects.locations.nodes.create/nodeId": node_id
|
||||
"/tpu:v1/tpu.projects.locations.nodes.create/parent": parent
|
||||
"/tpu:v1/tpu.projects.locations.nodes.delete": delete_project_location_node
|
||||
"/tpu:v1/tpu.projects.locations.nodes.delete/name": name
|
||||
"/tpu:v1/tpu.projects.locations.nodes.get": get_project_location_node
|
||||
"/tpu:v1/tpu.projects.locations.nodes.get/name": name
|
||||
"/tpu:v1/tpu.projects.locations.nodes.list": list_project_location_nodes
|
||||
"/tpu:v1/tpu.projects.locations.nodes.list/pageSize": page_size
|
||||
"/tpu:v1/tpu.projects.locations.nodes.list/pageToken": page_token
|
||||
"/tpu:v1/tpu.projects.locations.nodes.list/parent": parent
|
||||
"/tpu:v1/tpu.projects.locations.nodes.reimage": reimage_node
|
||||
"/tpu:v1/tpu.projects.locations.nodes.reimage/name": name
|
||||
"/tpu:v1/tpu.projects.locations.nodes.reset": reset_node
|
||||
"/tpu:v1/tpu.projects.locations.nodes.reset/name": name
|
||||
"/tpu:v1/tpu.projects.locations.nodes.start": start_node
|
||||
"/tpu:v1/tpu.projects.locations.nodes.start/name": name
|
||||
"/tpu:v1/tpu.projects.locations.nodes.stop": stop_node
|
||||
"/tpu:v1/tpu.projects.locations.nodes.stop/name": name
|
||||
"/tpu:v1/tpu.projects.locations.operations.cancel": cancel_project_location_operation
|
||||
"/tpu:v1/tpu.projects.locations.operations.cancel/name": name
|
||||
"/tpu:v1/tpu.projects.locations.operations.delete": delete_project_location_operation
|
||||
|
@ -78329,6 +78764,14 @@
|
|||
"/tpu:v1/tpu.projects.locations.operations.list/name": name
|
||||
"/tpu:v1/tpu.projects.locations.operations.list/pageSize": page_size
|
||||
"/tpu:v1/tpu.projects.locations.operations.list/pageToken": page_token
|
||||
"/tpu:v1/tpu.projects.locations.tensorflowVersions.get": get_project_location_tensorflow_version
|
||||
"/tpu:v1/tpu.projects.locations.tensorflowVersions.get/name": name
|
||||
"/tpu:v1/tpu.projects.locations.tensorflowVersions.list": list_project_location_tensorflow_versions
|
||||
"/tpu:v1/tpu.projects.locations.tensorflowVersions.list/filter": filter
|
||||
"/tpu:v1/tpu.projects.locations.tensorflowVersions.list/orderBy": order_by
|
||||
"/tpu:v1/tpu.projects.locations.tensorflowVersions.list/pageSize": page_size
|
||||
"/tpu:v1/tpu.projects.locations.tensorflowVersions.list/pageToken": page_token
|
||||
"/tpu:v1/tpu.projects.locations.tensorflowVersions.list/parent": parent
|
||||
"/tpu:v1alpha1/AcceleratorType": accelerator_type
|
||||
"/tpu:v1alpha1/AcceleratorType/name": name
|
||||
"/tpu:v1alpha1/AcceleratorType/type": type
|
||||
|
@ -78379,6 +78822,7 @@
|
|||
"/tpu:v1alpha1/Node/networkEndpoints": network_endpoints
|
||||
"/tpu:v1alpha1/Node/networkEndpoints/network_endpoint": network_endpoint
|
||||
"/tpu:v1alpha1/Node/port": port
|
||||
"/tpu:v1alpha1/Node/schedulingConfig": scheduling_config
|
||||
"/tpu:v1alpha1/Node/serviceAccount": service_account
|
||||
"/tpu:v1alpha1/Node/state": state
|
||||
"/tpu:v1alpha1/Node/tensorflowVersion": tensorflow_version
|
||||
|
@ -78401,6 +78845,8 @@
|
|||
"/tpu:v1alpha1/ReimageNodeRequest": reimage_node_request
|
||||
"/tpu:v1alpha1/ReimageNodeRequest/tensorflowVersion": tensorflow_version
|
||||
"/tpu:v1alpha1/ResetNodeRequest": reset_node_request
|
||||
"/tpu:v1alpha1/SchedulingConfig": scheduling_config
|
||||
"/tpu:v1alpha1/SchedulingConfig/preemptible": preemptible
|
||||
"/tpu:v1alpha1/StartNodeRequest": start_node_request
|
||||
"/tpu:v1alpha1/Status": status
|
||||
"/tpu:v1alpha1/Status/code": code
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeAlpha
|
||||
VERSION = 'Alpha'
|
||||
REVISION = '20180428'
|
||||
REVISION = '20180518'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -1259,6 +1259,17 @@ module Google
|
|||
# @return [Google::Apis::ComputeAlpha::CustomerEncryptionKey]
|
||||
attr_accessor :source_image_encryption_key
|
||||
|
||||
# The source snapshot to create this disk. When creating a new instance, one of
|
||||
# initializeParams.sourceSnapshot or disks.source is required except for local
|
||||
# SSD.
|
||||
# To create a disk with a snapshot that you created, specify the snapshot name
|
||||
# in the following format:
|
||||
# global/snapshots/my-backup
|
||||
# If the source snapshot is deleted later, this field will not be set.
|
||||
# Corresponds to the JSON property `sourceSnapshot`
|
||||
# @return [String]
|
||||
attr_accessor :source_snapshot
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -1272,6 +1283,7 @@ module Google
|
|||
@labels = args[:labels] if args.key?(:labels)
|
||||
@source_image = args[:source_image] if args.key?(:source_image)
|
||||
@source_image_encryption_key = args[:source_image_encryption_key] if args.key?(:source_image_encryption_key)
|
||||
@source_snapshot = args[:source_snapshot] if args.key?(:source_snapshot)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -2979,6 +2991,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :oauth2_client_id
|
||||
|
||||
# [Input Only] OAuth client info required to generate client id to be used for
|
||||
# IAP.
|
||||
# Corresponds to the JSON property `oauth2ClientInfo`
|
||||
# @return [Google::Apis::ComputeAlpha::BackendServiceIapoAuth2ClientInfo]
|
||||
attr_accessor :oauth2_client_info
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `oauth2ClientSecret`
|
||||
# @return [String]
|
||||
|
@ -2997,11 +3015,44 @@ module Google
|
|||
def update!(**args)
|
||||
@enabled = args[:enabled] if args.key?(:enabled)
|
||||
@oauth2_client_id = args[:oauth2_client_id] if args.key?(:oauth2_client_id)
|
||||
@oauth2_client_info = args[:oauth2_client_info] if args.key?(:oauth2_client_info)
|
||||
@oauth2_client_secret = args[:oauth2_client_secret] if args.key?(:oauth2_client_secret)
|
||||
@oauth2_client_secret_sha256 = args[:oauth2_client_secret_sha256] if args.key?(:oauth2_client_secret_sha256)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class BackendServiceIapoAuth2ClientInfo
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Application name to be used in OAuth consent screen.
|
||||
# Corresponds to the JSON property `applicationName`
|
||||
# @return [String]
|
||||
attr_accessor :application_name
|
||||
|
||||
# Name of the client to be generated. Optional - If not provided, the name will
|
||||
# be autogenerated by the backend.
|
||||
# Corresponds to the JSON property `clientName`
|
||||
# @return [String]
|
||||
attr_accessor :client_name
|
||||
|
||||
# Developer's information to be used in OAuth consent screen.
|
||||
# Corresponds to the JSON property `developerEmailAddress`
|
||||
# @return [String]
|
||||
attr_accessor :developer_email_address
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@application_name = args[:application_name] if args.key?(:application_name)
|
||||
@client_name = args[:client_name] if args.key?(:client_name)
|
||||
@developer_email_address = args[:developer_email_address] if args.key?(:developer_email_address)
|
||||
end
|
||||
end
|
||||
|
||||
# Contains a list of BackendService resources.
|
||||
class BackendServiceList
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -3450,9 +3501,8 @@ module Google
|
|||
attr_accessor :status_message
|
||||
|
||||
# The type of commitment, which affects the discount rate and the eligible
|
||||
# resources. Type MEMORY_OPTIMIZED_VM specifies a commitment that will only
|
||||
# apply to memory optimized VMs. Type NORMAL specifies a commitment that applies
|
||||
# to all other resources.
|
||||
# resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply
|
||||
# to memory optimized machines.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
@ -5279,9 +5329,7 @@ module Google
|
|||
alias_method :disabled?, :disabled
|
||||
|
||||
# This field denotes whether to enable logging for a particular firewall rule.
|
||||
# If logging is enabled, logs will be exported to the configured export
|
||||
# destination for all firewall logs in the network. Logs may be exported to
|
||||
# BigQuery or Pub/Sub.
|
||||
# If logging is enabled, logs will be exported to Stackdriver.
|
||||
# Corresponds to the JSON property `enableLogging`
|
||||
# @return [Boolean]
|
||||
attr_accessor :enable_logging
|
||||
|
@ -9073,6 +9121,11 @@ module Google
|
|||
# @return [Google::Apis::ComputeAlpha::ShieldedVmIntegrityPolicy]
|
||||
attr_accessor :shielded_vm_integrity_policy
|
||||
|
||||
# Source machine image
|
||||
# Corresponds to the JSON property `sourceMachineImage`
|
||||
# @return [String]
|
||||
attr_accessor :source_machine_image
|
||||
|
||||
# [Output Only] Whether a VM has been restricted for start because Compute
|
||||
# Engine has detected suspicious activity.
|
||||
# Corresponds to the JSON property `startRestricted`
|
||||
|
@ -9135,6 +9188,7 @@ module Google
|
|||
@service_accounts = args[:service_accounts] if args.key?(:service_accounts)
|
||||
@shielded_vm_config = args[:shielded_vm_config] if args.key?(:shielded_vm_config)
|
||||
@shielded_vm_integrity_policy = args[:shielded_vm_integrity_policy] if args.key?(:shielded_vm_integrity_policy)
|
||||
@source_machine_image = args[:source_machine_image] if args.key?(:source_machine_image)
|
||||
@start_restricted = args[:start_restricted] if args.key?(:start_restricted)
|
||||
@status = args[:status] if args.key?(:status)
|
||||
@status_message = args[:status_message] if args.key?(:status_message)
|
||||
|
@ -9662,8 +9716,7 @@ module Google
|
|||
|
||||
# Fingerprint of this resource. This field may be used in optimistic locking. It
|
||||
# will be ignored when inserting an InstanceGroupManager. An up-to-date
|
||||
# fingerprint must be provided in order to update the InstanceGroupManager or
|
||||
# the field need to be unset.
|
||||
# fingerprint must be provided in order to update the InstanceGroupManager.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -16264,6 +16317,11 @@ module Google
|
|||
# @return [Array<String>]
|
||||
attr_accessor :instances
|
||||
|
||||
# The name of the node.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The type of this node.
|
||||
# Corresponds to the JSON property `nodeType`
|
||||
# @return [String]
|
||||
|
@ -16277,6 +16335,7 @@ module Google
|
|||
def update!(**args)
|
||||
@index = args[:index] if args.key?(:index)
|
||||
@instances = args[:instances] if args.key?(:instances)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@node_type = args[:node_type] if args.key?(:node_type)
|
||||
end
|
||||
end
|
||||
|
@ -16309,6 +16368,11 @@ module Google
|
|||
# @return [Array<Fixnum>]
|
||||
attr_accessor :node_indexes
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `nodes`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :nodes
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -16316,6 +16380,7 @@ module Google
|
|||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@node_indexes = args[:node_indexes] if args.key?(:node_indexes)
|
||||
@nodes = args[:nodes] if args.key?(:nodes)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -20873,8 +20938,7 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# A list of Nat services created in this router. The maximum number of Nat
|
||||
# services within a Router is 3 for Alpha.
|
||||
# A list of Nat services created in this router.
|
||||
# Corresponds to the JSON property `nats`
|
||||
# @return [Array<Google::Apis::ComputeAlpha::RouterNat>]
|
||||
attr_accessor :nats
|
||||
|
@ -22024,7 +22088,7 @@ module Google
|
|||
end
|
||||
|
||||
# A security policy is comprised of one or more rules. It can also be associated
|
||||
# with one or more 'targets'.
|
||||
# with one or more 'targets'. Next available tag: 11
|
||||
class SecurityPolicy
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
|
@ -22062,6 +22126,24 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :kind
|
||||
|
||||
# A fingerprint for the labels being applied to this security policy, which is
|
||||
# essentially a hash of the labels set used for optimistic locking. The
|
||||
# fingerprint is initially generated by Compute Engine and changes after every
|
||||
# request to modify or update labels. You must always provide an up-to-date
|
||||
# fingerprint hash in order to update or change labels.
|
||||
# To see the latest fingerprint, make get() request to the security policy.
|
||||
# Corresponds to the JSON property `labelFingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
attr_accessor :label_fingerprint
|
||||
|
||||
# Labels to apply to this security policy resource. These can be later modified
|
||||
# by the setLabels method. Each label key/value must comply with RFC1035. Label
|
||||
# values may be empty.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Name of the resource. Provided by the client when the resource is created. The
|
||||
# name must be 1-63 characters long, and comply with RFC1035. Specifically, the
|
||||
# name must be 1-63 characters long and match the regular expression `[a-z]([-a-
|
||||
|
@ -22096,6 +22178,8 @@ module Google
|
|||
@fingerprint = args[:fingerprint] if args.key?(:fingerprint)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@label_fingerprint = args[:label_fingerprint] if args.key?(:label_fingerprint)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@rules = args[:rules] if args.key?(:rules)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
|
@ -22578,7 +22662,8 @@ module Google
|
|||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Integer license codes indicating which licenses are attached to this snapshot.
|
||||
# [Output Only] Integer license codes indicating which licenses are attached to
|
||||
# this snapshot.
|
||||
# Corresponds to the JSON property `licenseCodes`
|
||||
# @return [Array<Fixnum>]
|
||||
attr_accessor :license_codes
|
||||
|
|
|
@ -388,6 +388,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BackendServiceIapoAuth2ClientInfo
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class BackendServiceList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -4351,6 +4357,7 @@ module Google
|
|||
property :source_image, as: 'sourceImage'
|
||||
property :source_image_encryption_key, as: 'sourceImageEncryptionKey', class: Google::Apis::ComputeAlpha::CustomerEncryptionKey, decorator: Google::Apis::ComputeAlpha::CustomerEncryptionKey::Representation
|
||||
|
||||
property :source_snapshot, as: 'sourceSnapshot'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -4756,11 +4763,22 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :enabled, as: 'enabled'
|
||||
property :oauth2_client_id, as: 'oauth2ClientId'
|
||||
property :oauth2_client_info, as: 'oauth2ClientInfo', class: Google::Apis::ComputeAlpha::BackendServiceIapoAuth2ClientInfo, decorator: Google::Apis::ComputeAlpha::BackendServiceIapoAuth2ClientInfo::Representation
|
||||
|
||||
property :oauth2_client_secret, as: 'oauth2ClientSecret'
|
||||
property :oauth2_client_secret_sha256, as: 'oauth2ClientSecretSha256'
|
||||
end
|
||||
end
|
||||
|
||||
class BackendServiceIapoAuth2ClientInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :application_name, as: 'applicationName'
|
||||
property :client_name, as: 'clientName'
|
||||
property :developer_email_address, as: 'developerEmailAddress'
|
||||
end
|
||||
end
|
||||
|
||||
class BackendServiceList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -6217,6 +6235,7 @@ module Google
|
|||
|
||||
property :shielded_vm_integrity_policy, as: 'shieldedVmIntegrityPolicy', class: Google::Apis::ComputeAlpha::ShieldedVmIntegrityPolicy, decorator: Google::Apis::ComputeAlpha::ShieldedVmIntegrityPolicy::Representation
|
||||
|
||||
property :source_machine_image, as: 'sourceMachineImage'
|
||||
property :start_restricted, as: 'startRestricted'
|
||||
property :status, as: 'status'
|
||||
property :status_message, as: 'statusMessage'
|
||||
|
@ -8071,6 +8090,7 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :index, as: 'index'
|
||||
collection :instances, as: 'instances'
|
||||
property :name, as: 'name'
|
||||
property :node_type, as: 'nodeType'
|
||||
end
|
||||
end
|
||||
|
@ -8086,6 +8106,7 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :node_indexes, as: 'nodeIndexes'
|
||||
collection :nodes, as: 'nodes'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -9629,6 +9650,8 @@ module Google
|
|||
property :fingerprint, :base64 => true, as: 'fingerprint'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :label_fingerprint, :base64 => true, as: 'labelFingerprint'
|
||||
hash :labels, as: 'labels'
|
||||
property :name, as: 'name'
|
||||
collection :rules, as: 'rules', class: Google::Apis::ComputeAlpha::SecurityPolicyRule, decorator: Google::Apis::ComputeAlpha::SecurityPolicyRule::Representation
|
||||
|
||||
|
|
|
@ -14216,7 +14216,7 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns the specified NodeGroup. Gets a list of available NodeGroups by making
|
||||
# Returns the specified NodeGroup. Get a list of available NodeGroups by making
|
||||
# a list() request.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
|
@ -21792,6 +21792,46 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the labels on a security policy. To learn more about labels, read the
|
||||
# Labeling Resources documentation.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] resource
|
||||
# Name of the resource for this request.
|
||||
# @param [Google::Apis::ComputeAlpha::GlobalSetLabelsRequest] global_set_labels_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeAlpha::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeAlpha::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_security_policy_labels(project, resource, global_set_labels_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/global/securityPolicies/{resource}/setLabels', options)
|
||||
command.request_representation = Google::Apis::ComputeAlpha::GlobalSetLabelsRequest::Representation
|
||||
command.request_object = global_set_labels_request_object
|
||||
command.response_representation = Google::Apis::ComputeAlpha::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeAlpha::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['resource'] = resource unless resource.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns permissions that a caller has on the specified resource.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeBeta
|
||||
VERSION = 'Beta'
|
||||
REVISION = '20180428'
|
||||
REVISION = '20180518'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1678,6 +1678,216 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeGroup
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeGroupAggregatedList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Warning
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Datum
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeGroupList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Warning
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Datum
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeGroupNode
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeGroupsAddNodesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeGroupsDeleteNodesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeGroupsScopedList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Warning
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Datum
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeGroupsSetNodeTemplateRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeTemplate
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeTemplateAggregatedList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Warning
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Datum
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeTemplateList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Warning
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Datum
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeTemplateNodeTypeFlexibility
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeTemplatesScopedList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Warning
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Datum
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeType
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeTypeAggregatedList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Warning
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Datum
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeTypeList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Warning
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Datum
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NodeTypesScopedList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Warning
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
class Datum
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Operation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -2188,6 +2398,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SchedulingNodeAffinity
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SecurityPolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -2248,6 +2464,18 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ShieldedVmConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ShieldedVmIntegrityPolicy
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SignedUrlKey
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -2884,6 +3112,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class UsableSubnetworkSecondaryRange
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class UsableSubnetworksAggregatedList
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -3022,6 +3256,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ZoneSetPolicyRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AcceleratorConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -4212,6 +4452,7 @@ module Google
|
|||
collection :destination_ranges, as: 'destinationRanges'
|
||||
property :direction, as: 'direction'
|
||||
property :disabled, as: 'disabled'
|
||||
property :enable_logging, as: 'enableLogging'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :name, as: 'name'
|
||||
|
@ -4753,6 +4994,10 @@ module Google
|
|||
property :self_link, as: 'selfLink'
|
||||
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeBeta::ServiceAccount, decorator: Google::Apis::ComputeBeta::ServiceAccount::Representation
|
||||
|
||||
property :shielded_vm_config, as: 'shieldedVmConfig', class: Google::Apis::ComputeBeta::ShieldedVmConfig, decorator: Google::Apis::ComputeBeta::ShieldedVmConfig::Representation
|
||||
|
||||
property :shielded_vm_integrity_policy, as: 'shieldedVmIntegrityPolicy', class: Google::Apis::ComputeBeta::ShieldedVmIntegrityPolicy, decorator: Google::Apis::ComputeBeta::ShieldedVmIntegrityPolicy::Representation
|
||||
|
||||
property :start_restricted, as: 'startRestricted'
|
||||
property :status, as: 'status'
|
||||
property :status_message, as: 'statusMessage'
|
||||
|
@ -5307,6 +5552,8 @@ module Google
|
|||
|
||||
collection :service_accounts, as: 'serviceAccounts', class: Google::Apis::ComputeBeta::ServiceAccount, decorator: Google::Apis::ComputeBeta::ServiceAccount::Representation
|
||||
|
||||
property :shielded_vm_config, as: 'shieldedVmConfig', class: Google::Apis::ComputeBeta::ShieldedVmConfig, decorator: Google::Apis::ComputeBeta::ShieldedVmConfig::Representation
|
||||
|
||||
property :tags, as: 'tags', class: Google::Apis::ComputeBeta::Tags, decorator: Google::Apis::ComputeBeta::Tags::Representation
|
||||
|
||||
end
|
||||
|
@ -6146,6 +6393,376 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class NodeGroup
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :description, as: 'description'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :name, as: 'name'
|
||||
property :node_template, as: 'nodeTemplate'
|
||||
collection :nodes, as: 'nodes', class: Google::Apis::ComputeBeta::NodeGroupNode, decorator: Google::Apis::ComputeBeta::NodeGroupNode::Representation
|
||||
|
||||
property :self_link, as: 'selfLink'
|
||||
property :status, as: 'status'
|
||||
property :zone, as: 'zone'
|
||||
end
|
||||
end
|
||||
|
||||
class NodeGroupAggregatedList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
hash :items, as: 'items', class: Google::Apis::ComputeBeta::NodeGroupsScopedList, decorator: Google::Apis::ComputeBeta::NodeGroupsScopedList::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NodeGroupAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::NodeGroupAggregatedList::Warning::Representation
|
||||
|
||||
end
|
||||
|
||||
class Warning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :data, as: 'data', class: Google::Apis::ComputeBeta::NodeGroupAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NodeGroupAggregatedList::Warning::Datum::Representation
|
||||
|
||||
property :message, as: 'message'
|
||||
end
|
||||
|
||||
class Datum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class NodeGroupList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
collection :items, as: 'items', class: Google::Apis::ComputeBeta::NodeGroup, decorator: Google::Apis::ComputeBeta::NodeGroup::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NodeGroupList::Warning, decorator: Google::Apis::ComputeBeta::NodeGroupList::Warning::Representation
|
||||
|
||||
end
|
||||
|
||||
class Warning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :data, as: 'data', class: Google::Apis::ComputeBeta::NodeGroupList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NodeGroupList::Warning::Datum::Representation
|
||||
|
||||
property :message, as: 'message'
|
||||
end
|
||||
|
||||
class Datum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class NodeGroupNode
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :instances, as: 'instances'
|
||||
property :name, as: 'name'
|
||||
property :node_type, as: 'nodeType'
|
||||
end
|
||||
end
|
||||
|
||||
class NodeGroupsAddNodesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :additional_node_count, as: 'additionalNodeCount'
|
||||
end
|
||||
end
|
||||
|
||||
class NodeGroupsDeleteNodesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :nodes, as: 'nodes'
|
||||
end
|
||||
end
|
||||
|
||||
class NodeGroupsScopedList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :node_groups, as: 'nodeGroups', class: Google::Apis::ComputeBeta::NodeGroup, decorator: Google::Apis::ComputeBeta::NodeGroup::Representation
|
||||
|
||||
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NodeGroupsScopedList::Warning, decorator: Google::Apis::ComputeBeta::NodeGroupsScopedList::Warning::Representation
|
||||
|
||||
end
|
||||
|
||||
class Warning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :data, as: 'data', class: Google::Apis::ComputeBeta::NodeGroupsScopedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NodeGroupsScopedList::Warning::Datum::Representation
|
||||
|
||||
property :message, as: 'message'
|
||||
end
|
||||
|
||||
class Datum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class NodeGroupsSetNodeTemplateRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :node_template, as: 'nodeTemplate'
|
||||
end
|
||||
end
|
||||
|
||||
class NodeTemplate
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :description, as: 'description'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :name, as: 'name'
|
||||
hash :node_affinity_labels, as: 'nodeAffinityLabels'
|
||||
property :node_type, as: 'nodeType'
|
||||
property :node_type_flexibility, as: 'nodeTypeFlexibility', class: Google::Apis::ComputeBeta::NodeTemplateNodeTypeFlexibility, decorator: Google::Apis::ComputeBeta::NodeTemplateNodeTypeFlexibility::Representation
|
||||
|
||||
property :region, as: 'region'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :status, as: 'status'
|
||||
property :status_message, as: 'statusMessage'
|
||||
end
|
||||
end
|
||||
|
||||
class NodeTemplateAggregatedList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
hash :items, as: 'items', class: Google::Apis::ComputeBeta::NodeTemplatesScopedList, decorator: Google::Apis::ComputeBeta::NodeTemplatesScopedList::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NodeTemplateAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::NodeTemplateAggregatedList::Warning::Representation
|
||||
|
||||
end
|
||||
|
||||
class Warning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :data, as: 'data', class: Google::Apis::ComputeBeta::NodeTemplateAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NodeTemplateAggregatedList::Warning::Datum::Representation
|
||||
|
||||
property :message, as: 'message'
|
||||
end
|
||||
|
||||
class Datum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class NodeTemplateList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
collection :items, as: 'items', class: Google::Apis::ComputeBeta::NodeTemplate, decorator: Google::Apis::ComputeBeta::NodeTemplate::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NodeTemplateList::Warning, decorator: Google::Apis::ComputeBeta::NodeTemplateList::Warning::Representation
|
||||
|
||||
end
|
||||
|
||||
class Warning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :data, as: 'data', class: Google::Apis::ComputeBeta::NodeTemplateList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NodeTemplateList::Warning::Datum::Representation
|
||||
|
||||
property :message, as: 'message'
|
||||
end
|
||||
|
||||
class Datum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class NodeTemplateNodeTypeFlexibility
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :cpus, as: 'cpus'
|
||||
property :local_ssd, as: 'localSsd'
|
||||
property :memory, as: 'memory'
|
||||
end
|
||||
end
|
||||
|
||||
class NodeTemplatesScopedList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :node_templates, as: 'nodeTemplates', class: Google::Apis::ComputeBeta::NodeTemplate, decorator: Google::Apis::ComputeBeta::NodeTemplate::Representation
|
||||
|
||||
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NodeTemplatesScopedList::Warning, decorator: Google::Apis::ComputeBeta::NodeTemplatesScopedList::Warning::Representation
|
||||
|
||||
end
|
||||
|
||||
class Warning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :data, as: 'data', class: Google::Apis::ComputeBeta::NodeTemplatesScopedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NodeTemplatesScopedList::Warning::Datum::Representation
|
||||
|
||||
property :message, as: 'message'
|
||||
end
|
||||
|
||||
class Datum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class NodeType
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :cpu_platform, as: 'cpuPlatform'
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :deprecated, as: 'deprecated', class: Google::Apis::ComputeBeta::DeprecationStatus, decorator: Google::Apis::ComputeBeta::DeprecationStatus::Representation
|
||||
|
||||
property :description, as: 'description'
|
||||
property :guest_cpus, as: 'guestCpus'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :local_ssd_gb, as: 'localSsdGb'
|
||||
property :memory_mb, as: 'memoryMb'
|
||||
property :name, as: 'name'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :zone, as: 'zone'
|
||||
end
|
||||
end
|
||||
|
||||
class NodeTypeAggregatedList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
hash :items, as: 'items', class: Google::Apis::ComputeBeta::NodeTypesScopedList, decorator: Google::Apis::ComputeBeta::NodeTypesScopedList::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NodeTypeAggregatedList::Warning, decorator: Google::Apis::ComputeBeta::NodeTypeAggregatedList::Warning::Representation
|
||||
|
||||
end
|
||||
|
||||
class Warning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :data, as: 'data', class: Google::Apis::ComputeBeta::NodeTypeAggregatedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NodeTypeAggregatedList::Warning::Datum::Representation
|
||||
|
||||
property :message, as: 'message'
|
||||
end
|
||||
|
||||
class Datum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class NodeTypeList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :id, as: 'id'
|
||||
collection :items, as: 'items', class: Google::Apis::ComputeBeta::NodeType, decorator: Google::Apis::ComputeBeta::NodeType::Representation
|
||||
|
||||
property :kind, as: 'kind'
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NodeTypeList::Warning, decorator: Google::Apis::ComputeBeta::NodeTypeList::Warning::Representation
|
||||
|
||||
end
|
||||
|
||||
class Warning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :data, as: 'data', class: Google::Apis::ComputeBeta::NodeTypeList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NodeTypeList::Warning::Datum::Representation
|
||||
|
||||
property :message, as: 'message'
|
||||
end
|
||||
|
||||
class Datum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class NodeTypesScopedList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :node_types, as: 'nodeTypes', class: Google::Apis::ComputeBeta::NodeType, decorator: Google::Apis::ComputeBeta::NodeType::Representation
|
||||
|
||||
property :warning, as: 'warning', class: Google::Apis::ComputeBeta::NodeTypesScopedList::Warning, decorator: Google::Apis::ComputeBeta::NodeTypesScopedList::Warning::Representation
|
||||
|
||||
end
|
||||
|
||||
class Warning
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :code, as: 'code'
|
||||
collection :data, as: 'data', class: Google::Apis::ComputeBeta::NodeTypesScopedList::Warning::Datum, decorator: Google::Apis::ComputeBeta::NodeTypesScopedList::Warning::Datum::Representation
|
||||
|
||||
property :message, as: 'message'
|
||||
end
|
||||
|
||||
class Datum
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :value, as: 'value'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
class Operation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -7050,11 +7667,22 @@ module Google
|
|||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :automatic_restart, as: 'automaticRestart'
|
||||
collection :node_affinities, as: 'nodeAffinities', class: Google::Apis::ComputeBeta::SchedulingNodeAffinity, decorator: Google::Apis::ComputeBeta::SchedulingNodeAffinity::Representation
|
||||
|
||||
property :on_host_maintenance, as: 'onHostMaintenance'
|
||||
property :preemptible, as: 'preemptible'
|
||||
end
|
||||
end
|
||||
|
||||
class SchedulingNodeAffinity
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :key, as: 'key'
|
||||
property :operator, as: 'operator'
|
||||
collection :values, as: 'values'
|
||||
end
|
||||
end
|
||||
|
||||
class SecurityPolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -7159,6 +7787,22 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ShieldedVmConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :enable_integrity_monitoring, as: 'enableIntegrityMonitoring'
|
||||
property :enable_secure_boot, as: 'enableSecureBoot'
|
||||
property :enable_vtpm, as: 'enableVtpm'
|
||||
end
|
||||
end
|
||||
|
||||
class ShieldedVmIntegrityPolicy
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :update_auto_learn_policy, as: 'updateAutoLearnPolicy'
|
||||
end
|
||||
end
|
||||
|
||||
class SignedUrlKey
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -8264,10 +8908,20 @@ module Google
|
|||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :ip_cidr_range, as: 'ipCidrRange'
|
||||
property :network, as: 'network'
|
||||
collection :secondary_ip_ranges, as: 'secondaryIpRanges', class: Google::Apis::ComputeBeta::UsableSubnetworkSecondaryRange, decorator: Google::Apis::ComputeBeta::UsableSubnetworkSecondaryRange::Representation
|
||||
|
||||
property :subnetwork, as: 'subnetwork'
|
||||
end
|
||||
end
|
||||
|
||||
class UsableSubnetworkSecondaryRange
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :ip_cidr_range, as: 'ipCidrRange'
|
||||
property :range_name, as: 'rangeName'
|
||||
end
|
||||
end
|
||||
|
||||
class UsableSubnetworksAggregatedList
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -8521,6 +9175,17 @@ module Google
|
|||
hash :labels, as: 'labels'
|
||||
end
|
||||
end
|
||||
|
||||
class ZoneSetPolicyRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :bindings, as: 'bindings', class: Google::Apis::ComputeBeta::Binding, decorator: Google::Apis::ComputeBeta::Binding::Representation
|
||||
|
||||
property :etag, :base64 => true, as: 'etag'
|
||||
property :policy, as: 'policy', class: Google::Apis::ComputeBeta::Policy, decorator: Google::Apis::ComputeBeta::Policy::Representation
|
||||
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://developers.google.com/compute/docs/reference/latest/
|
||||
module ComputeV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180516'
|
||||
REVISION = '20180518'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -7215,8 +7215,7 @@ module Google
|
|||
|
||||
# Fingerprint of this resource. This field may be used in optimistic locking. It
|
||||
# will be ignored when inserting an InstanceGroupManager. An up-to-date
|
||||
# fingerprint must be provided in order to update the InstanceGroupManager or
|
||||
# the field need to be unset.
|
||||
# fingerprint must be provided in order to update the InstanceGroupManager.
|
||||
# Corresponds to the JSON property `fingerprint`
|
||||
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
||||
# @return [String]
|
||||
|
@ -9126,6 +9125,12 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# [Output Only] The current state of whether or not this Interconnect is
|
||||
# functional.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
@ -9153,6 +9158,7 @@ module Google
|
|||
@provisioned_link_count = args[:provisioned_link_count] if args.key?(:provisioned_link_count)
|
||||
@requested_link_count = args[:requested_link_count] if args.key?(:requested_link_count)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -9162,6 +9168,31 @@ module Google
|
|||
class InterconnectAttachment
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Determines whether this Attachment will carry packets. Not present for
|
||||
# PARTNER_PROVIDER.
|
||||
# Corresponds to the JSON property `adminEnabled`
|
||||
# @return [Boolean]
|
||||
attr_accessor :admin_enabled
|
||||
alias_method :admin_enabled?, :admin_enabled
|
||||
|
||||
# Provisioned bandwidth capacity for the interconnectAttachment. Can be set by
|
||||
# the partner to update the customer's provisioned bandwidth. Output only for
|
||||
# for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED.
|
||||
# Corresponds to the JSON property `bandwidth`
|
||||
# @return [String]
|
||||
attr_accessor :bandwidth
|
||||
|
||||
# Up to 16 candidate prefixes that can be used to restrict the allocation of
|
||||
# cloudRouterIpAddress and customerRouterIpAddress for this attachment. All
|
||||
# prefixes must be within link-local address space (169.254.0.0/16) and must be /
|
||||
# 29 or shorter (/28, /27, etc). Google will attempt to select an unused /29
|
||||
# from the supplied candidate prefix(es). The request will fail if all possible /
|
||||
# 29s are in use on Google?s edge. If not supplied, Google will randomly select
|
||||
# an unused /29 from all of link-local space.
|
||||
# Corresponds to the JSON property `candidateSubnets`
|
||||
# @return [Array<String>]
|
||||
attr_accessor :candidate_subnets
|
||||
|
||||
# [Output Only] IPv4 address + prefix length to be configured on Cloud Router
|
||||
# Interface for this interconnect attachment.
|
||||
# Corresponds to the JSON property `cloudRouterIpAddress`
|
||||
|
@ -9184,6 +9215,16 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# Desired availability domain for the attachment. Only available for type
|
||||
# PARTNER, at creation time. For improved reliability, customers should
|
||||
# configure a pair of attachments with one per availability domain. The selected
|
||||
# availability domain will be provided to the Partner via the pairing key so
|
||||
# that the provisioned circuit will lie in the specified domain. If not
|
||||
# specified, the value will default to AVAILABILITY_DOMAIN_ANY.
|
||||
# Corresponds to the JSON property `edgeAvailabilityDomain`
|
||||
# @return [String]
|
||||
attr_accessor :edge_availability_domain
|
||||
|
||||
# [Output Only] Google reference ID, to be used when raising support tickets
|
||||
# with Google or otherwise to debug backend connectivity issues.
|
||||
# Corresponds to the JSON property `googleReferenceId`
|
||||
|
@ -9224,6 +9265,28 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :operational_status
|
||||
|
||||
# [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present
|
||||
# for DEDICATED]. The opaque identifier of an PARTNER attachment used to
|
||||
# initiate provisioning with a selected partner. Of the form "XXXXX/region/
|
||||
# domain"
|
||||
# Corresponds to the JSON property `pairingKey`
|
||||
# @return [String]
|
||||
attr_accessor :pairing_key
|
||||
|
||||
# Optional BGP ASN for the router that should be supplied by a layer 3 Partner
|
||||
# if they configured BGP on behalf of the customer. Output only for PARTNER type,
|
||||
# input only for PARTNER_PROVIDER, not available for DEDICATED.
|
||||
# Corresponds to the JSON property `partnerAsn`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :partner_asn
|
||||
|
||||
# Informational metadata about Partner attachments from Partners to display to
|
||||
# customers. These fields are propagated from PARTNER_PROVIDER attachments to
|
||||
# their corresponding PARTNER attachments.
|
||||
# Corresponds to the JSON property `partnerMetadata`
|
||||
# @return [Google::Apis::ComputeV1::InterconnectAttachmentPartnerMetadata]
|
||||
attr_accessor :partner_metadata
|
||||
|
||||
# Information for an interconnect attachment when this belongs to an
|
||||
# interconnect of type DEDICATED.
|
||||
# Corresponds to the JSON property `privateInterconnectInfo`
|
||||
|
@ -9250,26 +9313,53 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :self_link
|
||||
|
||||
# [Output Only] The current state of this attachment's functionality.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
# Available only for DEDICATED and PARTNER_PROVIDER. Desired VLAN tag for this
|
||||
# attachment, in the range 2-4094. This field refers to 802.1q VLAN tag, also
|
||||
# known as IEEE 802.1Q Only specified at creation time.
|
||||
# Corresponds to the JSON property `vlanTag8021q`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :vlan_tag8021q
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@admin_enabled = args[:admin_enabled] if args.key?(:admin_enabled)
|
||||
@bandwidth = args[:bandwidth] if args.key?(:bandwidth)
|
||||
@candidate_subnets = args[:candidate_subnets] if args.key?(:candidate_subnets)
|
||||
@cloud_router_ip_address = args[:cloud_router_ip_address] if args.key?(:cloud_router_ip_address)
|
||||
@creation_timestamp = args[:creation_timestamp] if args.key?(:creation_timestamp)
|
||||
@customer_router_ip_address = args[:customer_router_ip_address] if args.key?(:customer_router_ip_address)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@edge_availability_domain = args[:edge_availability_domain] if args.key?(:edge_availability_domain)
|
||||
@google_reference_id = args[:google_reference_id] if args.key?(:google_reference_id)
|
||||
@id = args[:id] if args.key?(:id)
|
||||
@interconnect = args[:interconnect] if args.key?(:interconnect)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@operational_status = args[:operational_status] if args.key?(:operational_status)
|
||||
@pairing_key = args[:pairing_key] if args.key?(:pairing_key)
|
||||
@partner_asn = args[:partner_asn] if args.key?(:partner_asn)
|
||||
@partner_metadata = args[:partner_metadata] if args.key?(:partner_metadata)
|
||||
@private_interconnect_info = args[:private_interconnect_info] if args.key?(:private_interconnect_info)
|
||||
@region = args[:region] if args.key?(:region)
|
||||
@router = args[:router] if args.key?(:router)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
@vlan_tag8021q = args[:vlan_tag8021q] if args.key?(:vlan_tag8021q)
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -9510,6 +9600,44 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Informational metadata about Partner attachments from Partners to display to
|
||||
# customers. These fields are propagated from PARTNER_PROVIDER attachments to
|
||||
# their corresponding PARTNER attachments.
|
||||
class InterconnectAttachmentPartnerMetadata
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# Plain text name of the Interconnect this attachment is connected to, as
|
||||
# displayed in the Partner?s portal. For instance ?Chicago 1?. This value may be
|
||||
# validated to match approved Partner values.
|
||||
# Corresponds to the JSON property `interconnectName`
|
||||
# @return [String]
|
||||
attr_accessor :interconnect_name
|
||||
|
||||
# Plain text name of the Partner providing this attachment. This value may be
|
||||
# validated to match approved Partner values.
|
||||
# Corresponds to the JSON property `partnerName`
|
||||
# @return [String]
|
||||
attr_accessor :partner_name
|
||||
|
||||
# URL of the Partner?s portal for this Attachment. Partners may customise this
|
||||
# to be a deep-link to the specific resource on the Partner portal. This value
|
||||
# may be validated to match approved Partner values.
|
||||
# Corresponds to the JSON property `portalUrl`
|
||||
# @return [String]
|
||||
attr_accessor :portal_url
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@interconnect_name = args[:interconnect_name] if args.key?(:interconnect_name)
|
||||
@partner_name = args[:partner_name] if args.key?(:partner_name)
|
||||
@portal_url = args[:portal_url] if args.key?(:portal_url)
|
||||
end
|
||||
end
|
||||
|
||||
# Information for an interconnect attachment when this belongs to an
|
||||
# interconnect of type DEDICATED.
|
||||
class InterconnectAttachmentPrivateInfo
|
||||
|
@ -14228,6 +14356,15 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :ip_address
|
||||
|
||||
# [Output Only] Type of how the resource/configuration of the BGP peer is
|
||||
# managed. MANAGED_BY_USER is the default value; MANAGED_BY_ATTACHMENT
|
||||
# represents an BGP peer that is automatically created for PARTNER
|
||||
# interconnectAttachment, Google will automatically create/delete this type of
|
||||
# BGP peer when the PARTNER interconnectAttachment is created/deleted.
|
||||
# Corresponds to the JSON property `managementType`
|
||||
# @return [String]
|
||||
attr_accessor :management_type
|
||||
|
||||
# Name of this BGP peer. The name must be 1-63 characters long and comply with
|
||||
# RFC1035.
|
||||
# Corresponds to the JSON property `name`
|
||||
|
@ -14257,6 +14394,7 @@ module Google
|
|||
@advertised_route_priority = args[:advertised_route_priority] if args.key?(:advertised_route_priority)
|
||||
@interface_name = args[:interface_name] if args.key?(:interface_name)
|
||||
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
||||
@management_type = args[:management_type] if args.key?(:management_type)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@peer_asn = args[:peer_asn] if args.key?(:peer_asn)
|
||||
@peer_ip_address = args[:peer_ip_address] if args.key?(:peer_ip_address)
|
||||
|
@ -14289,6 +14427,16 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :linked_vpn_tunnel
|
||||
|
||||
# [Output Only] Type of how the resource/configuration of the interface is
|
||||
# managed. MANAGED_BY_USER is the default value; MANAGED_BY_ATTACHMENT
|
||||
# represents an interface that is automatically created for PARTNER type
|
||||
# interconnectAttachment, Google will automatically create/update/delete this
|
||||
# type of interface when the PARTNER interconnectAttachment is created/
|
||||
# provisioned/deleted.
|
||||
# Corresponds to the JSON property `managementType`
|
||||
# @return [String]
|
||||
attr_accessor :management_type
|
||||
|
||||
# Name of this interface entry. The name must be 1-63 characters long and comply
|
||||
# with RFC1035.
|
||||
# Corresponds to the JSON property `name`
|
||||
|
@ -14304,6 +14452,7 @@ module Google
|
|||
@ip_range = args[:ip_range] if args.key?(:ip_range)
|
||||
@linked_interconnect_attachment = args[:linked_interconnect_attachment] if args.key?(:linked_interconnect_attachment)
|
||||
@linked_vpn_tunnel = args[:linked_vpn_tunnel] if args.key?(:linked_vpn_tunnel)
|
||||
@management_type = args[:management_type] if args.key?(:management_type)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
end
|
||||
end
|
||||
|
@ -14888,7 +15037,8 @@ module Google
|
|||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Integer license codes indicating which licenses are attached to this snapshot.
|
||||
# [Output Only] Integer license codes indicating which licenses are attached to
|
||||
# this snapshot.
|
||||
# Corresponds to the JSON property `licenseCodes`
|
||||
# @return [Array<Fixnum>]
|
||||
attr_accessor :license_codes
|
||||
|
@ -16410,6 +16560,25 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class TargetHttpsProxiesSetQuicOverrideRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# QUIC policy for the TargetHttpsProxy resource.
|
||||
# Corresponds to the JSON property `quicOverride`
|
||||
# @return [String]
|
||||
attr_accessor :quic_override
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@quic_override = args[:quic_override] if args.key?(:quic_override)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class TargetHttpsProxiesSetSslCertificatesRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -16469,6 +16638,17 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# Specifies the QUIC override policy for this TargetHttpsProxy resource. This
|
||||
# determines whether the load balancer will attempt to negotiate QUIC with
|
||||
# clients or not. Can specify one of NONE, ENABLE, or DISABLE. Specify ENABLE to
|
||||
# always enable QUIC, Enables QUIC when set to ENABLE, and disables QUIC when
|
||||
# set to DISABLE. If NONE is specified, uses the QUIC policy with no user
|
||||
# overrides, which is equivalent to DISABLE. Not specifying this field is
|
||||
# equivalent to specifying NONE.
|
||||
# Corresponds to the JSON property `quicOverride`
|
||||
# @return [String]
|
||||
attr_accessor :quic_override
|
||||
|
||||
# [Output Only] Server-defined URL for the resource.
|
||||
# Corresponds to the JSON property `selfLink`
|
||||
# @return [String]
|
||||
|
@ -16509,6 +16689,7 @@ module Google
|
|||
@id = args[:id] if args.key?(:id)
|
||||
@kind = args[:kind] if args.key?(:kind)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@quic_override = args[:quic_override] if args.key?(:quic_override)
|
||||
@self_link = args[:self_link] if args.key?(:self_link)
|
||||
@ssl_certificates = args[:ssl_certificates] if args.key?(:ssl_certificates)
|
||||
@ssl_policy = args[:ssl_policy] if args.key?(:ssl_policy)
|
||||
|
|
|
@ -1252,6 +1252,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InterconnectAttachmentPartnerMetadata
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class InterconnectAttachmentPrivateInfo
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -2242,6 +2248,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TargetHttpsProxiesSetQuicOverrideRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TargetHttpsProxiesSetSslCertificatesRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -5001,27 +5013,39 @@ module Google
|
|||
property :provisioned_link_count, as: 'provisionedLinkCount'
|
||||
property :requested_link_count, as: 'requestedLinkCount'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :state, as: 'state'
|
||||
end
|
||||
end
|
||||
|
||||
class InterconnectAttachment
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :admin_enabled, as: 'adminEnabled'
|
||||
property :bandwidth, as: 'bandwidth'
|
||||
collection :candidate_subnets, as: 'candidateSubnets'
|
||||
property :cloud_router_ip_address, as: 'cloudRouterIpAddress'
|
||||
property :creation_timestamp, as: 'creationTimestamp'
|
||||
property :customer_router_ip_address, as: 'customerRouterIpAddress'
|
||||
property :description, as: 'description'
|
||||
property :edge_availability_domain, as: 'edgeAvailabilityDomain'
|
||||
property :google_reference_id, as: 'googleReferenceId'
|
||||
property :id, :numeric_string => true, as: 'id'
|
||||
property :interconnect, as: 'interconnect'
|
||||
property :kind, as: 'kind'
|
||||
property :name, as: 'name'
|
||||
property :operational_status, as: 'operationalStatus'
|
||||
property :pairing_key, as: 'pairingKey'
|
||||
property :partner_asn, :numeric_string => true, as: 'partnerAsn'
|
||||
property :partner_metadata, as: 'partnerMetadata', class: Google::Apis::ComputeV1::InterconnectAttachmentPartnerMetadata, decorator: Google::Apis::ComputeV1::InterconnectAttachmentPartnerMetadata::Representation
|
||||
|
||||
property :private_interconnect_info, as: 'privateInterconnectInfo', class: Google::Apis::ComputeV1::InterconnectAttachmentPrivateInfo, decorator: Google::Apis::ComputeV1::InterconnectAttachmentPrivateInfo::Representation
|
||||
|
||||
property :region, as: 'region'
|
||||
property :router, as: 'router'
|
||||
property :self_link, as: 'selfLink'
|
||||
property :state, as: 'state'
|
||||
property :type, as: 'type'
|
||||
property :vlan_tag8021q, as: 'vlanTag8021q'
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -5089,6 +5113,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class InterconnectAttachmentPartnerMetadata
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :interconnect_name, as: 'interconnectName'
|
||||
property :partner_name, as: 'partnerName'
|
||||
property :portal_url, as: 'portalUrl'
|
||||
end
|
||||
end
|
||||
|
||||
class InterconnectAttachmentPrivateInfo
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -6314,6 +6347,7 @@ module Google
|
|||
property :advertised_route_priority, as: 'advertisedRoutePriority'
|
||||
property :interface_name, as: 'interfaceName'
|
||||
property :ip_address, as: 'ipAddress'
|
||||
property :management_type, as: 'managementType'
|
||||
property :name, as: 'name'
|
||||
property :peer_asn, as: 'peerAsn'
|
||||
property :peer_ip_address, as: 'peerIpAddress'
|
||||
|
@ -6326,6 +6360,7 @@ module Google
|
|||
property :ip_range, as: 'ipRange'
|
||||
property :linked_interconnect_attachment, as: 'linkedInterconnectAttachment'
|
||||
property :linked_vpn_tunnel, as: 'linkedVpnTunnel'
|
||||
property :management_type, as: 'managementType'
|
||||
property :name, as: 'name'
|
||||
end
|
||||
end
|
||||
|
@ -6862,6 +6897,13 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class TargetHttpsProxiesSetQuicOverrideRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :quic_override, as: 'quicOverride'
|
||||
end
|
||||
end
|
||||
|
||||
class TargetHttpsProxiesSetSslCertificatesRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -6877,6 +6919,7 @@ module Google
|
|||
property :id, :numeric_string => true, as: 'id'
|
||||
property :kind, as: 'kind'
|
||||
property :name, as: 'name'
|
||||
property :quic_override, as: 'quicOverride'
|
||||
property :self_link, as: 'selfLink'
|
||||
collection :ssl_certificates, as: 'sslCertificates'
|
||||
property :ssl_policy, as: 'sslPolicy'
|
||||
|
|
|
@ -8197,6 +8197,62 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Updates the specified interconnect attachment with the data included in the
|
||||
# request. This method supports PATCH semantics and uses the JSON merge patch
|
||||
# format and processing rules.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] region
|
||||
# Name of the region scoping this request.
|
||||
# @param [String] interconnect_attachment
|
||||
# Name of the interconnect attachment to patch.
|
||||
# @param [Google::Apis::ComputeV1::InterconnectAttachment] interconnect_attachment_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def patch_interconnect_attachment(project, region, interconnect_attachment, interconnect_attachment_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:patch, '{project}/regions/{region}/interconnectAttachments/{interconnectAttachment}', options)
|
||||
command.request_representation = Google::Apis::ComputeV1::InterconnectAttachment::Representation
|
||||
command.request_object = interconnect_attachment_object
|
||||
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeV1::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['region'] = region unless region.nil?
|
||||
command.params['interconnectAttachment'] = interconnect_attachment unless interconnect_attachment.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Returns the details for the specified interconnect location. Gets a list of
|
||||
# available interconnect locations by making a list() request.
|
||||
# @param [String] project
|
||||
|
@ -14979,6 +15035,58 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Sets the QUIC override policy for TargetHttpsProxy.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
# @param [String] target_https_proxy
|
||||
# Name of the TargetHttpsProxy resource to set the QUIC override policy for. The
|
||||
# name should conform to RFC1035.
|
||||
# @param [Google::Apis::ComputeV1::TargetHttpsProxiesSetQuicOverrideRequest] target_https_proxies_set_quic_override_request_object
|
||||
# @param [String] request_id
|
||||
# An optional request ID to identify requests. Specify a unique request ID so
|
||||
# that if you must retry your request, the server will know to ignore the
|
||||
# request if it has already been completed.
|
||||
# For example, consider a situation where you make an initial request and the
|
||||
# request times out. If you make the request again with the same request ID, the
|
||||
# server can check if original operation with the same request ID was received,
|
||||
# and if so, will ignore the second request. This prevents clients from
|
||||
# accidentally creating duplicate commitments.
|
||||
# The request ID must be a valid UUID with the exception that zero UUID is not
|
||||
# supported (00000000-0000-0000-0000-000000000000).
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# An opaque string that represents a user for quota purposes. Must not exceed 40
|
||||
# characters.
|
||||
# @param [String] user_ip
|
||||
# Deprecated. Please use quotaUser instead.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::ComputeV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::ComputeV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def set_target_https_proxy_quic_override(project, target_https_proxy, target_https_proxies_set_quic_override_request_object = nil, request_id: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, '{project}/global/targetHttpsProxies/{targetHttpsProxy}/setQuicOverride', options)
|
||||
command.request_representation = Google::Apis::ComputeV1::TargetHttpsProxiesSetQuicOverrideRequest::Representation
|
||||
command.request_object = target_https_proxies_set_quic_override_request_object
|
||||
command.response_representation = Google::Apis::ComputeV1::Operation::Representation
|
||||
command.response_class = Google::Apis::ComputeV1::Operation
|
||||
command.params['project'] = project unless project.nil?
|
||||
command.params['targetHttpsProxy'] = target_https_proxy unless target_https_proxy.nil?
|
||||
command.query['requestId'] = request_id unless request_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
command.query['userIp'] = user_ip unless user_ip.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Replaces SslCertificates for TargetHttpsProxy.
|
||||
# @param [String] project
|
||||
# Project ID for this request.
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/logging/docs/
|
||||
module LoggingV2
|
||||
VERSION = 'V2'
|
||||
REVISION = '20180424'
|
||||
REVISION = '20180531'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -859,8 +859,8 @@ module Google
|
|||
# Required. An advanced logs filter that matches the log entries to be excluded.
|
||||
# By using the sample function, you can exclude less than 100% of the matching
|
||||
# log entries. For example, the following filter matches 99% of low-severity log
|
||||
# entries from load balancers:
|
||||
# "resource.type=http_load_balancer severity<ERROR sample(insertId, 0.99)"
|
||||
# entries from load balancers:"resource.type=http_load_balancer severity<ERROR
|
||||
# sample(insertId, 0.99)"
|
||||
# Corresponds to the JSON property `filter`
|
||||
# @return [String]
|
||||
attr_accessor :filter
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/tpu/
|
||||
module TpuV1
|
||||
VERSION = 'V1'
|
||||
REVISION = '20180525'
|
||||
REVISION = '20180601'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -22,6 +22,31 @@ module Google
|
|||
module Apis
|
||||
module TpuV1
|
||||
|
||||
# A accelerator type that a Node can be configured with.
|
||||
class AcceleratorType
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The resource name.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# the accelerator type.
|
||||
# Corresponds to the JSON property `type`
|
||||
# @return [String]
|
||||
attr_accessor :type
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@type = args[:type] if args.key?(:type)
|
||||
end
|
||||
end
|
||||
|
||||
# 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:
|
||||
|
@ -41,6 +66,31 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Response for ListAcceleratorTypes.
|
||||
class ListAcceleratorTypesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The listed nodes.
|
||||
# Corresponds to the JSON property `acceleratorTypes`
|
||||
# @return [Array<Google::Apis::TpuV1::AcceleratorType>]
|
||||
attr_accessor :accelerator_types
|
||||
|
||||
# The next page token or empty if none.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@accelerator_types = args[:accelerator_types] if args.key?(:accelerator_types)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
end
|
||||
end
|
||||
|
||||
# The response message for Locations.ListLocations.
|
||||
class ListLocationsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -66,6 +116,31 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Response for ListNodes.
|
||||
class ListNodesResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The next page token or empty if none.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# The listed nodes.
|
||||
# Corresponds to the JSON property `nodes`
|
||||
# @return [Array<Google::Apis::TpuV1::Node>]
|
||||
attr_accessor :nodes
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@nodes = args[:nodes] if args.key?(:nodes)
|
||||
end
|
||||
end
|
||||
|
||||
# The response message for Operations.ListOperations.
|
||||
class ListOperationsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -91,6 +166,31 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Response for ListTensorFlowVersions.
|
||||
class ListTensorFlowVersionsResponse
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The next page token or empty if none.
|
||||
# Corresponds to the JSON property `nextPageToken`
|
||||
# @return [String]
|
||||
attr_accessor :next_page_token
|
||||
|
||||
# The listed nodes.
|
||||
# Corresponds to the JSON property `tensorflowVersions`
|
||||
# @return [Array<Google::Apis::TpuV1::TensorFlowVersion>]
|
||||
attr_accessor :tensorflow_versions
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
||||
@tensorflow_versions = args[:tensorflow_versions] if args.key?(:tensorflow_versions)
|
||||
end
|
||||
end
|
||||
|
||||
# A resource that represents Google Cloud Platform location.
|
||||
class Location
|
||||
include Google::Apis::Core::Hashable
|
||||
|
@ -138,6 +238,169 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# A network endpoint over which a TPU worker can be reached.
|
||||
class NetworkEndpoint
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The IP address of this network endpoint.
|
||||
# Corresponds to the JSON property `ipAddress`
|
||||
# @return [String]
|
||||
attr_accessor :ip_address
|
||||
|
||||
# The port of this network endpoint.
|
||||
# Corresponds to the JSON property `port`
|
||||
# @return [Fixnum]
|
||||
attr_accessor :port
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
||||
@port = args[:port] if args.key?(:port)
|
||||
end
|
||||
end
|
||||
|
||||
# A TPU instance.
|
||||
class Node
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The type of hardware accelerators associated with this node.
|
||||
# Required.
|
||||
# Corresponds to the JSON property `acceleratorType`
|
||||
# @return [String]
|
||||
attr_accessor :accelerator_type
|
||||
|
||||
# The CIDR block that the TPU node will use when selecting an IP address.
|
||||
# This CIDR block must be a /29 block; the Compute Engine networks API
|
||||
# forbids a smaller block, and using a larger block would be wasteful (a
|
||||
# node can only consume one IP address). Errors will occur if the CIDR block
|
||||
# has already been used for a currently existing TPU node, the CIDR block
|
||||
# conflicts with any subnetworks in the user's provided network, or the
|
||||
# provided network is peered with another network that is using that CIDR
|
||||
# block.
|
||||
# Required.
|
||||
# Corresponds to the JSON property `cidrBlock`
|
||||
# @return [String]
|
||||
attr_accessor :cidr_block
|
||||
|
||||
# Output only.
|
||||
# The time when the node was created.
|
||||
# Corresponds to the JSON property `createTime`
|
||||
# @return [String]
|
||||
attr_accessor :create_time
|
||||
|
||||
# The user-supplied description of the TPU. Maximum of 512 characters.
|
||||
# Corresponds to the JSON property `description`
|
||||
# @return [String]
|
||||
attr_accessor :description
|
||||
|
||||
# The health status of the TPU node.
|
||||
# Corresponds to the JSON property `health`
|
||||
# @return [String]
|
||||
attr_accessor :health
|
||||
|
||||
# Output only.
|
||||
# If this field is populated, it contains a description of why the TPU Node
|
||||
# is unhealthy.
|
||||
# Corresponds to the JSON property `healthDescription`
|
||||
# @return [String]
|
||||
attr_accessor :health_description
|
||||
|
||||
# Output only.
|
||||
# DEPRECATED! Use network_endpoints instead.
|
||||
# The network address for the TPU Node as visible to Compute Engine
|
||||
# instances.
|
||||
# Corresponds to the JSON property `ipAddress`
|
||||
# @return [String]
|
||||
attr_accessor :ip_address
|
||||
|
||||
# Resource labels to represent user-provided metadata.
|
||||
# Corresponds to the JSON property `labels`
|
||||
# @return [Hash<String,String>]
|
||||
attr_accessor :labels
|
||||
|
||||
# Output only.
|
||||
# The immutable name of the TPU
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# The name of a network they wish to peer the TPU node to. It must be a
|
||||
# preexisting Compute Engine network inside of the project on which this API
|
||||
# has been activated. If none is provided, "default" will be used.
|
||||
# Corresponds to the JSON property `network`
|
||||
# @return [String]
|
||||
attr_accessor :network
|
||||
|
||||
# Output only. The network endpoints where TPU workers can be accessed and sent
|
||||
# work.
|
||||
# It is recommended that Tensorflow clients of the node reach out to the 0th
|
||||
# entry in this map first.
|
||||
# Corresponds to the JSON property `networkEndpoints`
|
||||
# @return [Array<Google::Apis::TpuV1::NetworkEndpoint>]
|
||||
attr_accessor :network_endpoints
|
||||
|
||||
# Output only.
|
||||
# DEPRECATED! Use network_endpoints instead.
|
||||
# The network port for the TPU Node as visible to Compute Engine instances.
|
||||
# Corresponds to the JSON property `port`
|
||||
# @return [String]
|
||||
attr_accessor :port
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `schedulingConfig`
|
||||
# @return [Google::Apis::TpuV1::SchedulingConfig]
|
||||
attr_accessor :scheduling_config
|
||||
|
||||
# Output only.
|
||||
# The service account used to run the tensor flow services within the node.
|
||||
# To share resources, including Google Cloud Storage data, with the
|
||||
# Tensorflow job running in the Node, this account must have permissions to
|
||||
# that data.
|
||||
# Corresponds to the JSON property `serviceAccount`
|
||||
# @return [String]
|
||||
attr_accessor :service_account
|
||||
|
||||
# Output only.
|
||||
# The current state for the TPU Node.
|
||||
# Corresponds to the JSON property `state`
|
||||
# @return [String]
|
||||
attr_accessor :state
|
||||
|
||||
# The version of Tensorflow running in the Node.
|
||||
# Required.
|
||||
# Corresponds to the JSON property `tensorflowVersion`
|
||||
# @return [String]
|
||||
attr_accessor :tensorflow_version
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@accelerator_type = args[:accelerator_type] if args.key?(:accelerator_type)
|
||||
@cidr_block = args[:cidr_block] if args.key?(:cidr_block)
|
||||
@create_time = args[:create_time] if args.key?(:create_time)
|
||||
@description = args[:description] if args.key?(:description)
|
||||
@health = args[:health] if args.key?(:health)
|
||||
@health_description = args[:health_description] if args.key?(:health_description)
|
||||
@ip_address = args[:ip_address] if args.key?(:ip_address)
|
||||
@labels = args[:labels] if args.key?(:labels)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@network = args[:network] if args.key?(:network)
|
||||
@network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
|
||||
@port = args[:port] if args.key?(:port)
|
||||
@scheduling_config = args[:scheduling_config] if args.key?(:scheduling_config)
|
||||
@service_account = args[:service_account] if args.key?(:service_account)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
@tensorflow_version = args[:tensorflow_version] if args.key?(:tensorflow_version)
|
||||
end
|
||||
end
|
||||
|
||||
# This resource represents a long-running operation that is the result of a
|
||||
# network API call.
|
||||
class Operation
|
||||
|
@ -294,6 +557,71 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
# Request for ReimageNode.
|
||||
class ReimageNodeRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The version for reimage to create.
|
||||
# Corresponds to the JSON property `tensorflowVersion`
|
||||
# @return [String]
|
||||
attr_accessor :tensorflow_version
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@tensorflow_version = args[:tensorflow_version] if args.key?(:tensorflow_version)
|
||||
end
|
||||
end
|
||||
|
||||
# Request for ResetNode.
|
||||
class ResetNodeRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
#
|
||||
class SchedulingConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `preemptible`
|
||||
# @return [Boolean]
|
||||
attr_accessor :preemptible
|
||||
alias_method :preemptible?, :preemptible
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
||||
end
|
||||
end
|
||||
|
||||
# Request for StartNode.
|
||||
class StartNodeRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# The `Status` type defines a logical error model that is suitable for different
|
||||
# programming environments, including REST APIs and RPC APIs. It is used by
|
||||
# [gRPC](https://github.com/grpc). The error model is designed to be:
|
||||
|
@ -365,6 +693,44 @@ module Google
|
|||
@message = args[:message] if args.key?(:message)
|
||||
end
|
||||
end
|
||||
|
||||
# Request for StopNode.
|
||||
class StopNodeRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
end
|
||||
end
|
||||
|
||||
# A tensorflow version that a Node can be configured with.
|
||||
class TensorFlowVersion
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
# The resource name.
|
||||
# Corresponds to the JSON property `name`
|
||||
# @return [String]
|
||||
attr_accessor :name
|
||||
|
||||
# the tensorflow version.
|
||||
# Corresponds to the JSON property `version`
|
||||
# @return [String]
|
||||
attr_accessor :version
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@name = args[:name] if args.key?(:name)
|
||||
@version = args[:version] if args.key?(:version)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -22,30 +22,66 @@ module Google
|
|||
module Apis
|
||||
module TpuV1
|
||||
|
||||
class AcceleratorType
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Empty
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListAcceleratorTypesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListLocationsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListNodesResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListOperationsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ListTensorFlowVersionsResponse
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Location
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class NetworkEndpoint
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Node
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Operation
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -58,18 +94,71 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ReimageNodeRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class ResetNodeRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SchedulingConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StartNodeRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class Status
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StopNodeRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class TensorFlowVersion
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class AcceleratorType
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :type, as: 'type'
|
||||
end
|
||||
end
|
||||
|
||||
class Empty
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class ListAcceleratorTypesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
collection :accelerator_types, as: 'acceleratorTypes', class: Google::Apis::TpuV1::AcceleratorType, decorator: Google::Apis::TpuV1::AcceleratorType::Representation
|
||||
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
end
|
||||
end
|
||||
|
||||
class ListLocationsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -79,6 +168,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ListNodesResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :nodes, as: 'nodes', class: Google::Apis::TpuV1::Node, decorator: Google::Apis::TpuV1::Node::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class ListOperationsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -88,6 +186,15 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ListTensorFlowVersionsResponse
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :next_page_token, as: 'nextPageToken'
|
||||
collection :tensorflow_versions, as: 'tensorflowVersions', class: Google::Apis::TpuV1::TensorFlowVersion, decorator: Google::Apis::TpuV1::TensorFlowVersion::Representation
|
||||
|
||||
end
|
||||
end
|
||||
|
||||
class Location
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -99,6 +206,38 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class NetworkEndpoint
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :ip_address, as: 'ipAddress'
|
||||
property :port, as: 'port'
|
||||
end
|
||||
end
|
||||
|
||||
class Node
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :accelerator_type, as: 'acceleratorType'
|
||||
property :cidr_block, as: 'cidrBlock'
|
||||
property :create_time, as: 'createTime'
|
||||
property :description, as: 'description'
|
||||
property :health, as: 'health'
|
||||
property :health_description, as: 'healthDescription'
|
||||
property :ip_address, as: 'ipAddress'
|
||||
hash :labels, as: 'labels'
|
||||
property :name, as: 'name'
|
||||
property :network, as: 'network'
|
||||
collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::TpuV1::NetworkEndpoint, decorator: Google::Apis::TpuV1::NetworkEndpoint::Representation
|
||||
|
||||
property :port, as: 'port'
|
||||
property :scheduling_config, as: 'schedulingConfig', class: Google::Apis::TpuV1::SchedulingConfig, decorator: Google::Apis::TpuV1::SchedulingConfig::Representation
|
||||
|
||||
property :service_account, as: 'serviceAccount'
|
||||
property :state, as: 'state'
|
||||
property :tensorflow_version, as: 'tensorflowVersion'
|
||||
end
|
||||
end
|
||||
|
||||
class Operation
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -124,6 +263,32 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class ReimageNodeRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :tensorflow_version, as: 'tensorflowVersion'
|
||||
end
|
||||
end
|
||||
|
||||
class ResetNodeRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class SchedulingConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :preemptible, as: 'preemptible'
|
||||
end
|
||||
end
|
||||
|
||||
class StartNodeRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class Status
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
@ -132,6 +297,20 @@ module Google
|
|||
property :message, as: 'message'
|
||||
end
|
||||
end
|
||||
|
||||
class StopNodeRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
end
|
||||
end
|
||||
|
||||
class TensorFlowVersion
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :name, as: 'name'
|
||||
property :version, as: 'version'
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -116,6 +116,342 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets AcceleratorType.
|
||||
# @param [String] name
|
||||
# The resource name.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TpuV1::AcceleratorType] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1::AcceleratorType]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location_accelerator_type(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::TpuV1::AcceleratorType::Representation
|
||||
command.response_class = Google::Apis::TpuV1::AcceleratorType
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists accelerator types supported by this API.
|
||||
# @param [String] parent
|
||||
# The parent resource name.
|
||||
# @param [String] filter
|
||||
# List filter.
|
||||
# @param [String] order_by
|
||||
# Sort results.
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of items to return.
|
||||
# @param [String] page_token
|
||||
# The next_page_token value returned from a previous List request, if any.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TpuV1::ListAcceleratorTypesResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1::ListAcceleratorTypesResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_location_accelerator_types(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/acceleratorTypes', options)
|
||||
command.response_representation = Google::Apis::TpuV1::ListAcceleratorTypesResponse::Representation
|
||||
command.response_class = Google::Apis::TpuV1::ListAcceleratorTypesResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['orderBy'] = order_by unless order_by.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Creates a node.
|
||||
# @param [String] parent
|
||||
# The parent resource name.
|
||||
# @param [Google::Apis::TpuV1::Node] node_object
|
||||
# @param [String] node_id
|
||||
# The unqualified resource name.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TpuV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def create_project_location_node(parent, node_object = nil, node_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+parent}/nodes', options)
|
||||
command.request_representation = Google::Apis::TpuV1::Node::Representation
|
||||
command.request_object = node_object
|
||||
command.response_representation = Google::Apis::TpuV1::Operation::Representation
|
||||
command.response_class = Google::Apis::TpuV1::Operation
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['nodeId'] = node_id unless node_id.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Deletes a node.
|
||||
# @param [String] name
|
||||
# The resource name.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TpuV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def delete_project_location_node(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:delete, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::TpuV1::Operation::Representation
|
||||
command.response_class = Google::Apis::TpuV1::Operation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets the details of a node.
|
||||
# @param [String] name
|
||||
# The resource name.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TpuV1::Node] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1::Node]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location_node(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::TpuV1::Node::Representation
|
||||
command.response_class = Google::Apis::TpuV1::Node
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Lists nodes.
|
||||
# @param [String] parent
|
||||
# The parent resource name.
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of items to return.
|
||||
# @param [String] page_token
|
||||
# The next_page_token value returned from a previous List request, if any.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TpuV1::ListNodesResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1::ListNodesResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_location_nodes(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/nodes', options)
|
||||
command.response_representation = Google::Apis::TpuV1::ListNodesResponse::Representation
|
||||
command.response_class = Google::Apis::TpuV1::ListNodesResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Reimages a node's OS.
|
||||
# @param [String] name
|
||||
# The resource name.
|
||||
# @param [Google::Apis::TpuV1::ReimageNodeRequest] reimage_node_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TpuV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def reimage_node(name, reimage_node_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:reimage', options)
|
||||
command.request_representation = Google::Apis::TpuV1::ReimageNodeRequest::Representation
|
||||
command.request_object = reimage_node_request_object
|
||||
command.response_representation = Google::Apis::TpuV1::Operation::Representation
|
||||
command.response_class = Google::Apis::TpuV1::Operation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Resets a node, which stops and starts the VM.
|
||||
# @param [String] name
|
||||
# The resource name.
|
||||
# @param [Google::Apis::TpuV1::ResetNodeRequest] reset_node_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TpuV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def reset_node(name, reset_node_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:reset', options)
|
||||
command.request_representation = Google::Apis::TpuV1::ResetNodeRequest::Representation
|
||||
command.request_object = reset_node_request_object
|
||||
command.response_representation = Google::Apis::TpuV1::Operation::Representation
|
||||
command.response_class = Google::Apis::TpuV1::Operation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Starts a node.
|
||||
# @param [String] name
|
||||
# The resource name.
|
||||
# @param [Google::Apis::TpuV1::StartNodeRequest] start_node_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TpuV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def start_node(name, start_node_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:start', options)
|
||||
command.request_representation = Google::Apis::TpuV1::StartNodeRequest::Representation
|
||||
command.request_object = start_node_request_object
|
||||
command.response_representation = Google::Apis::TpuV1::Operation::Representation
|
||||
command.response_class = Google::Apis::TpuV1::Operation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Stops a node.
|
||||
# @param [String] name
|
||||
# The resource name.
|
||||
# @param [Google::Apis::TpuV1::StopNodeRequest] stop_node_request_object
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TpuV1::Operation] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1::Operation]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def stop_node(name, stop_node_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:post, 'v1/{+name}:stop', options)
|
||||
command.request_representation = Google::Apis::TpuV1::StopNodeRequest::Representation
|
||||
command.request_object = stop_node_request_object
|
||||
command.response_representation = Google::Apis::TpuV1::Operation::Representation
|
||||
command.response_class = Google::Apis::TpuV1::Operation
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Starts asynchronous cancellation on a long-running operation. The server
|
||||
# makes a best effort to cancel the operation, but success is not
|
||||
# guaranteed. If the server doesn't support this method, it returns
|
||||
|
@ -267,6 +603,78 @@ module Google
|
|||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# Gets TensorFlow Version.
|
||||
# @param [String] name
|
||||
# The resource name.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TpuV1::TensorFlowVersion] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1::TensorFlowVersion]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def get_project_location_tensorflow_version(name, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+name}', options)
|
||||
command.response_representation = Google::Apis::TpuV1::TensorFlowVersion::Representation
|
||||
command.response_class = Google::Apis::TpuV1::TensorFlowVersion
|
||||
command.params['name'] = name unless name.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
# List TensorFlow versions supported by this API.
|
||||
# @param [String] parent
|
||||
# The parent resource name.
|
||||
# @param [String] filter
|
||||
# List filter.
|
||||
# @param [String] order_by
|
||||
# Sort results.
|
||||
# @param [Fixnum] page_size
|
||||
# The maximum number of items to return.
|
||||
# @param [String] page_token
|
||||
# The next_page_token value returned from a previous List request, if any.
|
||||
# @param [String] fields
|
||||
# Selector specifying which fields to include in a partial response.
|
||||
# @param [String] quota_user
|
||||
# Available to use for quota purposes for server-side applications. Can be any
|
||||
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
||||
# @param [Google::Apis::RequestOptions] options
|
||||
# Request-specific options
|
||||
#
|
||||
# @yield [result, err] Result & error if block supplied
|
||||
# @yieldparam result [Google::Apis::TpuV1::ListTensorFlowVersionsResponse] parsed result object
|
||||
# @yieldparam err [StandardError] error object if request failed
|
||||
#
|
||||
# @return [Google::Apis::TpuV1::ListTensorFlowVersionsResponse]
|
||||
#
|
||||
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
||||
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
||||
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
||||
def list_project_location_tensorflow_versions(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
||||
command = make_simple_command(:get, 'v1/{+parent}/tensorflowVersions', options)
|
||||
command.response_representation = Google::Apis::TpuV1::ListTensorFlowVersionsResponse::Representation
|
||||
command.response_class = Google::Apis::TpuV1::ListTensorFlowVersionsResponse
|
||||
command.params['parent'] = parent unless parent.nil?
|
||||
command.query['filter'] = filter unless filter.nil?
|
||||
command.query['orderBy'] = order_by unless order_by.nil?
|
||||
command.query['pageSize'] = page_size unless page_size.nil?
|
||||
command.query['pageToken'] = page_token unless page_token.nil?
|
||||
command.query['fields'] = fields unless fields.nil?
|
||||
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
||||
execute_or_queue_command(command, &block)
|
||||
end
|
||||
|
||||
protected
|
||||
|
||||
def apply_command_defaults(command)
|
||||
|
|
|
@ -25,7 +25,7 @@ module Google
|
|||
# @see https://cloud.google.com/tpu/
|
||||
module TpuV1alpha1
|
||||
VERSION = 'V1alpha1'
|
||||
REVISION = '20180525'
|
||||
REVISION = '20180601'
|
||||
|
||||
# View and manage your data across Google Cloud Platform services
|
||||
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
||||
|
|
|
@ -350,6 +350,11 @@ module Google
|
|||
# @return [String]
|
||||
attr_accessor :port
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `schedulingConfig`
|
||||
# @return [Google::Apis::TpuV1alpha1::SchedulingConfig]
|
||||
attr_accessor :scheduling_config
|
||||
|
||||
# Output only.
|
||||
# The service account used to run the tensor flow services within the node.
|
||||
# To share resources, including Google Cloud Storage data, with the
|
||||
|
@ -389,6 +394,7 @@ module Google
|
|||
@network = args[:network] if args.key?(:network)
|
||||
@network_endpoints = args[:network_endpoints] if args.key?(:network_endpoints)
|
||||
@port = args[:port] if args.key?(:port)
|
||||
@scheduling_config = args[:scheduling_config] if args.key?(:scheduling_config)
|
||||
@service_account = args[:service_account] if args.key?(:service_account)
|
||||
@state = args[:state] if args.key?(:state)
|
||||
@tensorflow_version = args[:tensorflow_version] if args.key?(:tensorflow_version)
|
||||
|
@ -583,6 +589,26 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
#
|
||||
class SchedulingConfig
|
||||
include Google::Apis::Core::Hashable
|
||||
|
||||
#
|
||||
# Corresponds to the JSON property `preemptible`
|
||||
# @return [Boolean]
|
||||
attr_accessor :preemptible
|
||||
alias_method :preemptible?, :preemptible
|
||||
|
||||
def initialize(**args)
|
||||
update!(**args)
|
||||
end
|
||||
|
||||
# Update properties of this object
|
||||
def update!(**args)
|
||||
@preemptible = args[:preemptible] if args.key?(:preemptible)
|
||||
end
|
||||
end
|
||||
|
||||
# Request for StartNode.
|
||||
class StartNodeRequest
|
||||
include Google::Apis::Core::Hashable
|
||||
|
|
|
@ -106,6 +106,12 @@ module Google
|
|||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class SchedulingConfig
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
include Google::Apis::Core::JsonObjectSupport
|
||||
end
|
||||
|
||||
class StartNodeRequest
|
||||
class Representation < Google::Apis::Core::JsonRepresentation; end
|
||||
|
||||
|
@ -224,6 +230,8 @@ module Google
|
|||
collection :network_endpoints, as: 'networkEndpoints', class: Google::Apis::TpuV1alpha1::NetworkEndpoint, decorator: Google::Apis::TpuV1alpha1::NetworkEndpoint::Representation
|
||||
|
||||
property :port, as: 'port'
|
||||
property :scheduling_config, as: 'schedulingConfig', class: Google::Apis::TpuV1alpha1::SchedulingConfig, decorator: Google::Apis::TpuV1alpha1::SchedulingConfig::Representation
|
||||
|
||||
property :service_account, as: 'serviceAccount'
|
||||
property :state, as: 'state'
|
||||
property :tensorflow_version, as: 'tensorflowVersion'
|
||||
|
@ -268,6 +276,13 @@ module Google
|
|||
end
|
||||
end
|
||||
|
||||
class SchedulingConfig
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
property :preemptible, as: 'preemptible'
|
||||
end
|
||||
end
|
||||
|
||||
class StartNodeRequest
|
||||
# @private
|
||||
class Representation < Google::Apis::Core::JsonRepresentation
|
||||
|
|
Loading…
Reference in New Issue