source
stringclasses
1 value
repo
stringlengths
5
63
repo_url
stringlengths
24
82
path
stringlengths
5
167
language
stringclasses
1 value
license
stringclasses
5 values
stars
int64
10
51.4k
ref
stringclasses
23 values
size_bytes
int64
200
258k
text
stringlengths
137
258k
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/images.rb
Ruby
mit
99
master
3,786
module Fog module Google class Compute class Images < Fog::Collection model Fog::Google::Compute::Image # NOTE: some of these operating systems are premium and users will be # charged a license fee beyond the base Google Compute Engine VM # charges. See https://cloud.google....
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/url_maps.rb
Ruby
mit
99
master
877
module Fog module Google class Compute class UrlMaps < Fog::Collection model Fog::Google::Compute::UrlMap def all(opts = {}) items = [] next_page_token = nil loop do data = service.list_url_maps(**opts) next_items = data.to_h[:items] || ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/global_addresses.rb
Ruby
mit
99
master
1,587
module Fog module Google class Compute class GlobalAddresses < Fog::Collection model Fog::Google::Compute::GlobalAddress def all(options = {}) items = [] next_page_token = nil loop do data = service.list_global_addresses(**options) next_...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/instance_groups.rb
Ruby
mit
99
master
2,616
module Fog module Google class Compute class InstanceGroups < Fog::Collection model Fog::Google::Compute::InstanceGroup def all(zone: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil) opts = { :filter => filter, :max_results => max_results...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/global_address.rb
Ruby
mit
99
master
1,616
module Fog module Google class Compute ## # Represents an Address resource # # @see https://developers.google.com/compute/docs/reference/latest/addresses class GlobalAddress < Fog::Model identity :name attribute :address attribute :creation_timestamp, :aliase...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/disk_type.rb
Ruby
mit
99
master
699
module Fog module Google class Compute class DiskType < Fog::Model identity :name attribute :kind attribute :id attribute :creation_timestamp, :aliases => "creationTimestamp" attribute :default_disk_size_gb, :aliases => "defaultDiskSizeGb" attribute :deprecat...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/address.rb
Ruby
mit
99
master
4,209
module Fog module Google class Compute ## # Represents an Address resource # # @see https://developers.google.com/compute/docs/reference/latest/addresses class Address < Fog::Model identity :name attribute :kind attribute :id attribute :address ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/region.rb
Ruby
mit
99
master
699
module Fog module Google class Compute ## # Represents a Region resource # # @see https://developers.google.com/compute/docs/reference/latest/regions class Region < Fog::Model identity :name attribute :kind attribute :id attribute :creation_timestamp,...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/forwarding_rule.rb
Ruby
mit
99
master
2,489
module Fog module Google class Compute class ForwardingRule < Fog::Model identity :name attribute :ip_address, :aliases => "IPAddress" attribute :ip_protocol, :aliases => "IPProtocol" attribute :backend_service, :aliases => "backendService" attribute :creation_timest...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/instance_group_manager.rb
Ruby
mit
99
master
1,799
module Fog module Google class Compute class InstanceGroupManager < Fog::Model identity :name attribute :kind attribute :self_link, :aliases => "selfLink" attribute :description attribute :zone attribute :region attribute :instance_group, :aliases => ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/target_pool.rb
Ruby
mit
99
master
5,864
module Fog module Google class Compute class TargetPool < Fog::Model identity :name attribute :backup_pool, :aliases => "backupPool" attribute :creation_timestamp, :aliases => "creationTimestamp" attribute :description attribute :failover_ratio, :aliases => "failover...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/snapshot.rb
Ruby
mit
99
master
2,044
module Fog module Google class Compute class Snapshot < Fog::Model identity :name attribute :creation_timestamp, :aliases => "creationTimestamp" attribute :description attribute :disk_size_gb, :aliases => "diskSizeGb" attribute :id attribute :kind att...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/http_health_checks.rb
Ruby
mit
99
master
933
module Fog module Google class Compute class HttpHealthChecks < Fog::Collection model Fog::Google::Compute::HttpHealthCheck def all(opts = {}) items = [] next_page_token = nil loop do data = service.list_http_health_checks(**opts) next_i...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/disk.rb
Ruby
mit
99
master
6,092
module Fog module Google class Compute class Disk < Fog::Model identity :name attribute :kind attribute :id attribute :creation_timestamp, :aliases => "creationTimestamp" attribute :zone, :aliases => :zone_name attribute :status attribute :description...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/target_https_proxies.rb
Ruby
mit
99
master
941
module Fog module Google class Compute class TargetHttpsProxies < Fog::Collection model Fog::Google::Compute::TargetHttpsProxy def all(opts = {}) items = [] next_page_token = nil loop do data = service.list_target_https_proxies(**opts) n...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/backend_services.rb
Ruby
mit
99
master
602
module Fog module Google class Compute class BackendServices < Fog::Collection model Fog::Google::Compute::BackendService def all(_filters = {}) data = service.list_backend_services.items || [] load(data.map(&:to_h)) end def get(identity) if id...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/forwarding_rules.rb
Ruby
mit
99
master
1,688
module Fog module Google class Compute class ForwardingRules < Fog::Collection model Fog::Google::Compute::ForwardingRule def all(region: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil) opts = { :filter => filter, :max_results => max_res...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/target_http_proxies.rb
Ruby
mit
99
master
934
module Fog module Google class Compute class TargetHttpProxies < Fog::Collection model Fog::Google::Compute::TargetHttpProxy def all(opts = {}) items = [] next_page_token = nil loop do data = service.list_target_http_proxies(*opts) next_...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/networks.rb
Ruby
mit
99
master
877
module Fog module Google class Compute class Networks < Fog::Collection model Fog::Google::Compute::Network def all(opts = {}) items = [] next_page_token = nil loop do data = service.list_networks(**opts) next_items = data.to_h[:items] |...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/operation.rb
Ruby
mit
99
master
5,400
module Fog module Google class Compute class Operation < Fog::Model identity :name attribute :kind attribute :id attribute :client_operation_id, :aliases => "clientOperationId" attribute :creation_timestamp, :aliases => "creationTimestamp" attribute :end_time...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/network.rb
Ruby
mit
99
master
2,329
module Fog module Google class Compute ## # Represents a Network resource # # @see https://developers.google.com/compute/docs/reference/latest/networks class Network < Fog::Model identity :name attribute :auto_create_subnetworks, aliases => "autoCreateSubnetworks" ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/machine_type.rb
Ruby
mit
99
master
796
module Fog module Google class Compute class MachineType < Fog::Model identity :name attribute :creation_timestamp, :aliases => "creationTimestamp" attribute :deprecated attribute :description attribute :guest_cpus, :aliases => "guestCpus" attribute :id ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/route.rb
Ruby
mit
99
master
1,691
module Fog module Google class Compute ## # Represents a Route resource # # @see https://developers.google.com/compute/docs/reference/latest/routes class Route < Fog::Model identity :name attribute :kind attribute :id attribute :creation_timestamp, :a...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/disk_types.rb
Ruby
mit
99
master
1,675
module Fog module Google class Compute class DiskTypes < Fog::Collection model Fog::Google::Compute::DiskType def all(zone: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil) opts = { :filter => filter, :max_results => max_r...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/target_instance.rb
Ruby
mit
99
master
1,921
module Fog module Google class Compute class TargetInstance < Fog::Model identity :name attribute :creation_timestamp, :aliases => "creationTimestamp" attribute :description attribute :id attribute :instance attribute :kind attribute :nat_policy, :ali...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/project.rb
Ruby
mit
99
master
865
module Fog module Google class Compute ## # Represents a Project resource # # @see https://developers.google.com/compute/docs/reference/latest/projects class Project < Fog::Model identity :name attribute :kind attribute :id attribute :common_instance_...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/url_map.rb
Ruby
mit
99
master
4,004
module Fog module Google class Compute class UrlMap < Fog::Model identity :name attribute :creation_timestamp, :aliases => "creationTimestamp" attribute :default_service, :aliases => "defaultService" attribute :description, :aliases => "description" attribute :finger...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/routes.rb
Ruby
mit
99
master
865
module Fog module Google class Compute class Routes < Fog::Collection model Fog::Google::Compute::Route def all(opts = {}) items = [] next_page_token = nil loop do data = service.list_routes(**opts) next_items = data.to_h[:items] || [] ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/snapshots.rb
Ruby
mit
99
master
848
module Fog module Google class Compute class Snapshots < Fog::Collection model Fog::Google::Compute::Snapshot def all items = [] next_page_token = nil loop do data = service.list_snapshots(:page_token => next_page_token) next_items = dat...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/disks.rb
Ruby
mit
99
master
4,044
module Fog module Google class Compute class Disks < Fog::Collection model Fog::Google::Compute::Disk def all(zone: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil) opts = { :filter => filter, :max_results => max_results, ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/server.rb
Ruby
mit
99
master
21,062
require "fog/compute/models/server" module Fog module Google class Compute class Server < Fog::Compute::Server identity :name # @return [Boolean] attribute :can_ip_forward, :aliases => "canIpForward" # @return [String] attribute :cpu_platform, :aliases => "cpuPlatf...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/instance_templates.rb
Ruby
mit
99
master
940
module Fog module Google class Compute class InstanceTemplates < Fog::Collection model Fog::Google::Compute::InstanceTemplate def all(opts = {}) items = [] next_page_token = nil loop do data = service.list_instance_templates(**opts) next...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/subnetworks.rb
Ruby
mit
99
master
1,697
module Fog module Google class Compute class Subnetworks < Fog::Collection model Fog::Google::Compute::Subnetwork def all(region: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil) filters = { :filter => filter, :max_results => max_results,...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/subnetwork.rb
Ruby
mit
99
master
2,898
module Fog module Google class Compute ## # Represents a Subnetwork resource # # @see https://developers.google.com/compute/docs/reference/latest/subnetworks class Subnetwork < Fog::Model identity :name attribute :creation_timestamp, :aliases => "creationTimestamp" ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/target_http_proxy.rb
Ruby
mit
99
master
2,186
module Fog module Google class Compute class TargetHttpProxy < Fog::Model identity :name attribute :creation_timestamp, :aliases => "creationTimestamp" attribute :description, :aliases => "description" attribute :id, :aliases => "id" attribute :kind, :aliases => "kin...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/servers.rb
Ruby
mit
99
master
4,386
module Fog module Google class Compute class Servers < Fog::Collection model Fog::Google::Compute::Server def all(zone: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil) opts = { :filter => filter, :max_results => max_resul...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/target_pools.rb
Ruby
mit
99
master
1,679
module Fog module Google class Compute class TargetPools < Fog::Collection model Fog::Google::Compute::TargetPool def all(region: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil) opts = { :filter => filter, :max_results => max_results, ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/firewalls.rb
Ruby
mit
99
master
883
module Fog module Google class Compute class Firewalls < Fog::Collection model Fog::Google::Compute::Firewall def all(opts = {}) items = [] next_page_token = nil loop do data = service.list_firewalls(**opts) next_items = data.to_h[:items...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/machine_types.rb
Ruby
mit
99
master
1,978
module Fog module Google class Compute class MachineTypes < Fog::Collection model Fog::Google::Compute::MachineType def all(zone: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil) opts = { :filter => filter, :max_results => max_results, ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/firewall.rb
Ruby
mit
99
master
2,984
module Fog module Google class Compute ## # Represents a Firewall resource # # @see https://developers.google.com/compute/docs/reference/latest/firewalls class Firewall < Fog::Model identity :name # Allowed ports in API format # # @example # [...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/instance_group.rb
Ruby
mit
99
master
2,297
module Fog module Google class Compute class InstanceGroup < Fog::Model identity :name attribute :id attribute :kind attribute :creation_timestamp, :aliases => "creationTimestamp" attribute :description attribute :fingerprint attribute :namedPorts ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/global_forwarding_rules.rb
Ruby
mit
99
master
927
module Fog module Google class Compute class GlobalForwardingRules < Fog::Collection model Fog::Google::Compute::GlobalForwardingRule def all(opts = {}) items = [] next_page_token = nil loop do data = service.list_global_forwarding_rules(**opts) ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/http_health_check.rb
Ruby
mit
99
master
3,107
module Fog module Google class Compute class HttpHealthCheck < Fog::Model identity :name attribute :check_interval_sec, :aliases => "checkIntervalSec" attribute :creation_timestamp, :aliases => "creationTimestamp" attribute :description attribute :healthy_threshold, ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/global_forwarding_rule.rb
Ruby
mit
99
master
2,414
module Fog module Google class Compute class GlobalForwardingRule < Fog::Model identity :name attribute :ip_address, :aliases => "IPAddress" attribute :ip_protocol, :aliases => "IPProtocol" attribute :backend_service, :aliases => "backendService" attribute :creation_...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/regions.rb
Ruby
mit
99
master
871
module Fog module Google class Compute class Regions < Fog::Collection model Fog::Google::Compute::Region def all(opts = {}) items = [] next_page_token = nil loop do data = service.list_regions(**opts) next_items = data.to_h[:items] || [...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/ssl_certificate.rb
Ruby
mit
99
master
1,372
module Fog module Google class Compute ## # Represents a SslCertificate resource # # @see https://cloud.google.com/compute/docs/reference/latest/sslCertificates class SslCertificate < Fog::Model identity :name attribute :kind attribute :id attribute :...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/projects.rb
Ruby
mit
99
master
428
module Fog module Google class Compute class Projects < Fog::Collection model Fog::Google::Compute::Project def get(identity) if identity project = service.get_project(identity).to_h return new(project) end rescue ::Google::Apis::ClientErr...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/image.rb
Ruby
mit
99
master
2,755
module Fog module Google class Compute class Image < Fog::Model identity :name attribute :archive_size_bytes, :aliases => "archiveSizeBytes" attribute :creation_timestamp, :aliases => "creationTimestamp" attribute :deprecated attribute :description attribute ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/zone.rb
Ruby
mit
99
master
535
module Fog module Google class Compute class Zone < Fog::Model identity :name attribute :creation_timestamp, :aliases => "creationTimestamp" attribute :deprecated attribute :description attribute :id attribute :kind attribute :region attribute...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/instance_template.rb
Ruby
mit
99
master
1,502
module Fog module Google class Compute class InstanceTemplate < Fog::Model identity :name attribute :kind attribute :self_link, :aliases => "selfLink" attribute :description # Properties is a hash describing the templates # A minimal example is # :pro...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/addresses.rb
Ruby
mit
99
master
2,442
module Fog module Google class Compute class Addresses < Fog::Collection model Fog::Google::Compute::Address def all(region: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil) opts = { :filter => filter, :max_results => max_results, ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/target_instances.rb
Ruby
mit
99
master
1,814
module Fog module Google class Compute class TargetInstances < Fog::Collection model Fog::Google::Compute::TargetInstance def all(zone: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil) opts = { :filter => filter, :max_resu...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/zones.rb
Ruby
mit
99
master
844
module Fog module Google class Compute class Zones < Fog::Collection model Fog::Google::Compute::Zone def all(opts = {}) items = [] next_page_token = nil loop do data = service.list_zones next_items = data.to_h[:items] || [] ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/instance_group_managers.rb
Ruby
mit
99
master
1,852
module Fog module Google class Compute class InstanceGroupManagers < Fog::Collection model Fog::Google::Compute::InstanceGroupManager def all(zone: nil, filter: nil, max_results: nil, order_by: nil, page_token: nil) opts = { :filter => filter, ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/backend_service.rb
Ruby
mit
99
master
2,473
module Fog module Google class Compute class BackendService < Fog::Model identity :name attribute :backends attribute :creation_timestamp attribute :description attribute :fingerprint attribute :health_checks, :aliases => "healthChecks" attribute :id ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/models/ssl_certificates.rb
Ruby
mit
99
master
923
module Fog module Google class Compute class SslCertificates < Fog::Collection model Fog::Google::Compute::SslCertificate def get(identity) if identity ssl_certificate = service.get_ssl_certificate(identity).to_h return new(ssl_certificate) end ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/insert_http_health_check.rb
Ruby
mit
99
master
556
module Fog module Google class Compute class Mock def insert_http_health_check(_check_name, _options = {}) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def insert_http_health_check(check_name, opts = {}) ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/get_target_instance.rb
Ruby
mit
99
master
466
module Fog module Google class Compute class Mock def get_target_instance(_target_name, _zone) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def get_target_instance(target_name, zone) zone = zone.spli...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/list_aggregated_instance_group_managers.rb
Ruby
mit
99
master
688
module Fog module Google class Compute class Mock def list_aggregated_instance_group_managers(_opts = {}) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def list_aggregated_instance_group_managers(filter: nil, m...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/list_firewalls.rb
Ruby
mit
99
master
640
module Fog module Google class Compute class Mock def list_firewalls # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def list_firewalls(filter: nil, max_results: nil, order_by: nil, pag...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/get_target_pool.rb
Ruby
mit
99
master
466
module Fog module Google class Compute class Mock def get_target_pool(_target_pool, _region) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def get_target_pool(target_pool, region) region = region.spli...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/list_zone_operations.rb
Ruby
mit
99
master
790
module Fog module Google class Compute class Mock def list_zone_operations(_zone) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real # @see https://developers.google.com/compute/docs/reference/latest/zoneOperations/...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/get_image.rb
Ruby
mit
99
master
435
module Fog module Google class Compute class Mock def get_image(_image_name, _project = @project) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def get_image(image_name, project = @project) project = ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/get_zone_operation.rb
Ruby
mit
99
master
818
module Fog module Google class Compute class Mock def get_zone_operation(_zone_name, _operation) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real # Get the updated status of a zone operation # @see https:/...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/set_global_forwarding_rule_target.rb
Ruby
mit
99
master
540
module Fog module Google class Compute class Mock def set_global_forwarding_rule_target(_rule_name, _target) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def set_global_forwarding_rule_target(rule_name, target...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/delete_disk.rb
Ruby
mit
99
master
710
module Fog module Google class Compute class Mock def delete_disk(_disk_name, _zone_name) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real # Delete a disk resource # https://cloud.google.com/compute/docs/r...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/set_server_machine_type.rb
Ruby
mit
99
master
695
module Fog module Google class Compute class Mock def set_server_machine_type(_instance, _zone, _machine_type) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def set_server_machine_type(instance, zone, machine_t...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/list_url_maps.rb
Ruby
mit
99
master
641
module Fog module Google class Compute class Mock def list_url_maps(_filter: nil, _max_results: nil, _order_by: nil, _page_token: nil) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/get_snapshot.rb
Ruby
mit
99
master
456
module Fog module Google class Compute class Mock def get_snapshot(_snap_name) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def get_snapshot(snap_name, project = @project) raise ArgumentError.new "sn...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/get_url_map.rb
Ruby
mit
99
master
362
module Fog module Google class Compute class Mock def get_url_map(_url_map_name) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def get_url_map(url_map_name) @compute.get_url_map(@project, url_map_name...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/delete_ssl_certificate.rb
Ruby
mit
99
master
406
module Fog module Google class Compute class Mock def delete_ssl_certificate(_certificate_name) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def delete_ssl_certificate(certificate_name) @compute.dele...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/list_target_http_proxies.rb
Ruby
mit
99
master
708
module Fog module Google class Compute class Mock def list_target_http_proxies(_filter: nil, _max_results: nil, _order_by: nil, _page_token: nil) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/update_http_health_check.rb
Ruby
mit
99
master
577
module Fog module Google class Compute class Mock def update_http_health_check(_check_name, _opts = {}) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def update_http_health_check(check_name, opts = {}) ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/get_project.rb
Ruby
mit
99
master
340
module Fog module Google class Compute class Mock def get_project(_identity) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def get_project(identity) @compute.get_project(identity) end en...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/insert_target_https_proxy.rb
Ruby
mit
99
master
828
module Fog module Google class Compute class Mock def insert_target_https_proxy(_proxy_name, _description: nil, _url_map: nil, _ssl_certificates: nil) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/insert_ssl_certificate.rb
Ruby
mit
99
master
731
module Fog module Google class Compute class Mock def insert_ssl_certificate(_certificate_name, _certificate, _private_key, _options = {}) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def insert_ssl_certificat...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/insert_target_http_proxy.rb
Ruby
mit
99
master
651
module Fog module Google class Compute class Mock def insert_target_http_proxy(_proxy_name, _description: nil, _url_map: nil) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def insert_target_http_proxy(proxy_nam...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/start_server.rb
Ruby
mit
99
master
389
module Fog module Google class Compute class Mock def start_server(_identity, _zone) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def start_server(identity, zone) @compute.start_instance(@project, zo...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/get_machine_type.rb
Ruby
mit
99
master
460
module Fog module Google class Compute class Mock def get_machine_type(_machine_type, _zone) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def get_machine_type(machine_type, zone) zone = zone.split("/...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/list_global_addresses.rb
Ruby
mit
99
master
854
module Fog module Google class Compute class Mock def list_global_addresses(_opts = {}) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real # List address resources in the specified project # @see https://clo...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/reset_server.rb
Ruby
mit
99
master
389
module Fog module Google class Compute class Mock def reset_server(_identity, _zone) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def reset_server(identity, zone) @compute.reset_instance(@project, zo...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/set_forwarding_rule_target.rb
Ruby
mit
99
master
619
module Fog module Google class Compute class Mock def set_forwarding_rule_target(_rule_name, _region, _target_opts) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def set_forwarding_rule_target(rule_name, region...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/insert_backend_service.rb
Ruby
mit
99
master
626
module Fog module Google class Compute class Mock def insert_backend_service(_backend_service_name, _opts = {}) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def insert_backend_service(backend_service_name, opt...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/delete_global_address.rb
Ruby
mit
99
master
392
module Fog module Google class Compute class Mock def delete_global_address(_address_name) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def delete_global_address(address_name) @compute.delete_global_...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/reset_windows_password.rb
Ruby
mit
99
master
5,650
# Copyright 2015 Google Inc. All Rights Reserved. # # 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 a...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/recreate_instances.rb
Ruby
mit
99
master
997
module Fog module Google class Compute class Mock def recreate_instances(_instance_group_manager, _instances) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def recreate_instances(instance_group_manager, instanc...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/list_target_https_proxies.rb
Ruby
mit
99
master
608
module Fog module Google class Compute class Mock def list_target_https_proxies # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def list_target_https_proxies(filter: nil, max_results: nil, ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/delete_backend_service.rb
Ruby
mit
99
master
437
module Fog module Google class Compute class Mock def delete_backend_service(_backend_service_name, _zone_name = nil) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def delete_backend_service(backend_service_nam...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/insert_address.rb
Ruby
mit
99
master
993
module Fog module Google class Compute class Mock def insert_address(_address_name, _region_name, _options = {}) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real # Create an address resource in the specified proje...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/get_network.rb
Ruby
mit
99
master
362
module Fog module Google class Compute class Mock def get_network(_network_name) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def get_network(network_name) @compute.get_network(@project, network_name...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/list_aggregated_target_instances.rb
Ruby
mit
99
master
662
module Fog module Google class Compute class Mock def list_aggregated_target_instances(_options = {}) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def list_aggregated_target_instances(filter: nil, max_results:...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/set_target_http_proxy_url_map.rb
Ruby
mit
99
master
605
module Fog module Google class Compute class Mock def set_target_http_proxy_url_map(_proxy_name, _url_map) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def set_target_http_proxy_url_map(proxy_name, url_map) ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/list_zones.rb
Ruby
mit
99
master
572
module Fog module Google class Compute class Mock def list_zones # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def list_zones(filter: nil, max_results: nil, order_by: nil, page_token: nil...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/list_routes.rb
Ruby
mit
99
master
743
module Fog module Google class Compute class Mock def list_routes(_options = {}) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real # Retrieves the list of Route resources available to the specified project. ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/get_server_serial_port_output.rb
Ruby
mit
99
master
1,406
module Fog module Google class Compute class Mock def get_server_serial_port_output(_identity, _zone) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real # Returns the specified instance's serial port output. ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/get_instance_group.rb
Ruby
mit
99
master
436
module Fog module Google class Compute class Mock def get_instance_group(_group_name, _zone, _project = @project) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def get_instance_group(group_name, zone, project =...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/list_machine_types.rb
Ruby
mit
99
master
767
module Fog module Google class Compute class Mock def list_machine_types(_zone, _opts = {}) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def list_machine_types(zone, filter: nil, max_results: nil, ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/insert_image.rb
Ruby
mit
99
master
525
module Fog module Google class Compute class Mock def insert_image(_image_name, _image = {}) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def insert_image(image_name, image = {}, project = @project) ...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/set_target_pool_backup.rb
Ruby
mit
99
master
809
module Fog module Google class Compute class Mock def set_target_pool_backup(_target_pool, _region, _backup_target, _failover_ratio: nil) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real...
github
fog/fog-google
https://github.com/fog/fog-google
lib/fog/google/compute/requests/get_server.rb
Ruby
mit
99
master
383
module Fog module Google class Compute class Mock def get_server(_instance, _zone) # :no-coverage: Fog::Mock.not_implemented # :no-coverage: end end class Real def get_server(instance, zone) @compute.get_instance(@project, zone.spl...