Add compute API beta

This commit is contained in:
Steve Bazyl 2015-12-14 17:41:02 -08:00
parent 0320f210cb
commit 886bb2904f
9 changed files with 24483 additions and 4 deletions

View File

@ -341,6 +341,68 @@
"/civicinfo:v2/civicinfo.representatives.representativeInfoByAddress": representative_info_by_address
"/civicinfo:v2/civicinfo.representatives.representativeInfoByDivision": representative_info_by_division
"/compute:v1/DiskMoveRequest": move_disk_request
"/compute:beta/InstanceMoveRequest": move_instance_request
"/compute:beta/TargetPoolsAddHealthCheckRequest": add_target_pools_health_check_request
"/compute:beta/TargetPoolsAddInstanceRequest": add_target_pools_instance_request
"/compute:beta/TargetPoolsRemoveHealthCheckRequest": remove_target_pools_health_check_request
"/compute:beta/TargetPoolsRemoveInstanceRequest": remove_target_pools_instance_request
"/compute:beta/UrlMapsValidateRequest": validate_url_maps_request
"/compute:beta/UrlMapsValidateResponse": validate_url_maps_response
"/compute:beta/compute.addresses.aggregatedList": list_aggregated_addresses
"/compute:beta/compute.autoscalers.aggregatedList": list_aggregated_autoscalers
"/compute:beta/compute.backendServices.getHealth": get_backend_service_health
"/compute:beta/compute.diskTypes.aggregatedList": list_aggregated_disk_types
"/compute:beta/compute.disks.aggregatedList": list_aggregated_disk
"/compute:beta/compute.disks.createSnapshot": create_disk_snapshot
"/compute:beta/compute.forwardingRules.aggregatedList": list_aggregated_forwarding_rules
"/compute:beta/compute.forwardingRules.setTarget": set_forwarding_rule_target
"/compute:beta/compute.globalForwardingRules.setTarget": set_global_forwarding_rule_target
"/compute:beta/compute.globalOperations.aggregatedList": list_aggregated_global_operation
"/compute:beta/compute.instances.addAccessConfig": add_instance_access_config
"/compute:beta/compute.instances.aggregatedList": list_aggregated_instances
"/compute:beta/compute.instances.attachDisk": attach_disk
"/compute:beta/compute.instances.deleteAccessConfig": delete_instance_access_config
"/compute:beta/compute.instances.detachDisk": detach_disk
"/compute:beta/compute.instances.getSerialPortOutput": get_instance_serial_port_output
"/compute:beta/compute.instances.setDiskAutoDelete": set_disk_auto_delete
"/compute:beta/compute.instances.setMetadata": set_instance_metadata
"/compute:beta/compute.instances.setScheduling": set_instance_scheduling
"/compute:beta/compute.instances.setTags": set_instance_tags
"/compute:beta/compute.machineTypes.aggregatedList": list_aggregated_machine_types
"/compute:beta/compute.projects.moveDisk": move_disk
"/compute:beta/compute.projects.moveInstance": move_instance
"/compute:beta/compute.projects.setCommonInstanceMetadata": set_common_instance_metadata
"/compute:beta/compute.subnetworks.aggregatedList": list_aggregated_subnetworks
"/compute:beta/compute.projects.setUsageExportBucket": set_usage_export_bucket
"/compute:beta/compute.targetHttpProxies.setUrlMap": set_target_http_proxy_url_map
"/compute:beta/compute.targetInstances.aggregatedList": list_aggregated_target_instance
"/compute:beta/compute.targetPools.addHealthCheck": add_target_pool_health_check
"/compute:beta/compute.targetPools.addInstance": add_target_pool_instance
"/compute:beta/compute.targetPools.aggregatedList": list_aggregated_target_pools
"/compute:beta/compute.targetPools.getHealth": get_target_pool_health
"/compute:beta/compute.targetPools.removeHealthCheck": remove_target_pool_health_check
"/compute:beta/compute.targetPools.removeInstance": remove_target_pool_instance
"/compute:beta/compute.targetPools.setBackup": set_target_pool_backup
"/compute:beta/compute.targetVpnGateways.aggregatedList": list_aggregated_target_vpn_gateways
"/compute:beta/compute.targetVpnGateways.delete": delete_target_vpn_gateway
"/compute:beta/compute.targetVpnGateways.get": get_target_vpn_gateway
"/compute:beta/compute.targetVpnGateways.insert": insert_target_vpn_gateway
"/compute:beta/compute.targetVpnGateways.list": list_target_vpn_gateways
"/compute:beta/compute.vpnTunnels.aggregatedList": list_aggregated_vpn_tunnel
"/compute:beta/compute.instanceGroupManagers.abandonInstances": abandon_instance_group_manager_instances
"/compute:beta/compute.instanceGroupManagers.aggregatedList": list_aggregated_instance_group_managers
"/compute:beta/compute.instanceGroupManagers.deleteInstances": delete_instance_group_manager_instances
"/compute:beta/compute.instanceGroupManagers.listManagedInstances": list_instance_group_manager_managed_instances
"/compute:beta/compute.instanceGroupManagers.recreateInstances": recreate_instance_group_manager_instances
"/compute:beta/compute.instanceGroupManagers.resize": resize_instance_group_manager
"/compute:beta/compute.instanceGroupManagers.setInstanceTemplate": set_instance_group_manager_instance_template
"/compute:beta/compute.instanceGroupManagers.setTargetPools": set_instance_group_manager_target_pools
"/compute:beta/compute.instanceGroups.addInstances": add_instance_group_instances
"/compute:beta/compute.instanceGroups.aggregatedList": list_aggregated_instance_groups
"/compute:beta/compute.instanceGroups.listInstances": list_instance_group_instances
"/compute:beta/compute.instanceGroups.removeInstances": remove_instance_group_instances
"/compute:beta/compute.instanceGroups.setNamedPorts": set_instance_group_named_ports
"/compute:v1/DiskMoveRequest": move_disk_request
"/compute:v1/InstanceMoveRequest": move_instance_request
"/compute:v1/TargetPoolsAddHealthCheckRequest": add_target_pools_health_check_request
"/compute:v1/TargetPoolsAddInstanceRequest": add_target_pools_instance_request
@ -349,6 +411,7 @@
"/compute:v1/UrlMapsValidateRequest": validate_url_maps_request
"/compute:v1/UrlMapsValidateResponse": validate_url_maps_response
"/compute:v1/compute.addresses.aggregatedList": list_aggregated_addresses
"/compute:v1/compute.autoscalers.aggregatedList": list_aggregated_autoscalers
"/compute:v1/compute.backendServices.getHealth": get_backend_service_health
"/compute:v1/compute.diskTypes.aggregatedList": list_aggregated_disk_types
"/compute:v1/compute.disks.aggregatedList": list_aggregated_disk

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,49 @@
# Copyright 2015 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
require 'google/apis/compute_beta/service.rb'
require 'google/apis/compute_beta/classes.rb'
require 'google/apis/compute_beta/representations.rb'
module Google
module Apis
# Compute Engine API
#
# API for the Google Compute Engine service.
#
# @see https://developers.google.com/compute/docs/reference/latest/
module ComputeBeta
VERSION = 'Beta'
REVISION = '20151208'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
# View and manage your Google Compute Engine resources
AUTH_COMPUTE = 'https://www.googleapis.com/auth/compute'
# View your Google Compute Engine resources
AUTH_COMPUTE_READONLY = 'https://www.googleapis.com/auth/compute.readonly'
# Manage your data and permissions in Google Cloud Storage
AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
# View your data in Google Cloud Storage
AUTH_DEVSTORAGE_READ_ONLY = 'https://www.googleapis.com/auth/devstorage.read_only'
# Manage your data in Google Cloud Storage
AUTH_DEVSTORAGE_READ_WRITE = 'https://www.googleapis.com/auth/devstorage.read_write'
end
end
end

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -369,7 +369,7 @@ module Google
# @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 aggregated_autoscaler_list(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
def list_aggregated_autoscalers(project, filter: nil, max_results: nil, page_token: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
command = make_simple_command(:get, '{project}/aggregated/autoscalers', options)
command.response_representation = Google::Apis::ComputeV1::AutoscalerAggregatedList::Representation
command.response_class = Google::Apis::ComputeV1::AutoscalerAggregatedList

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/+/domains/
module PlusDomainsV1
VERSION = 'V1'
REVISION = '20151209'
REVISION = '20151213'
# View your circles and the people and pages in them
AUTH_PLUS_CIRCLES_READ = 'https://www.googleapis.com/auth/plus.circles.read'

View File

@ -25,7 +25,7 @@ module Google
# @see https://developers.google.com/+/api/
module PlusV1
VERSION = 'V1'
REVISION = '20151209'
REVISION = '20151213'
# Know your basic profile info and list of people in your circles.
AUTH_PLUS_LOGIN = 'https://www.googleapis.com/auth/plus.login'