Class: PlatformAPI::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/platform-api/client.rb

Overview

The platform API empowers developers to automate, extend and combine Heroku with other services.

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Client

Returns a new instance of Client.



97
98
99
# File 'lib/platform-api/client.rb', line 97

def initialize(client)
  @client = client
end

Instance Method Details

#accountAccount

An account represents an individual signed up to use the Heroku platform.

Returns:



118
119
120
# File 'lib/platform-api/client.rb', line 118

def 
  @account_resource ||= Account.new(@client)
end

#account_delinquencyAccountDelinquency

A Heroku account becomes delinquent due to non-payment. We suspend and delete delinquent accounts if their invoices remain unpaid.

Returns:



104
105
106
# File 'lib/platform-api/client.rb', line 104

def 
  @account_delinquency_resource ||= AccountDelinquency.new(@client)
end

#account_featureAccountFeature

An account feature represents a Heroku labs capability that can be enabled or disabled for an account on Heroku.

Returns:



111
112
113
# File 'lib/platform-api/client.rb', line 111

def 
  @account_feature_resource ||= AccountFeature.new(@client)
end

#addonAddon

Add-ons represent add-ons that have been provisioned and attached to one or more apps.

Returns:



188
189
190
# File 'lib/platform-api/client.rb', line 188

def addon
  @addon_resource ||= Addon.new(@client)
end

#addon_actionAddonAction

Add-on Actions are lifecycle operations for add-on provisioning and deprovisioning. They allow add-on providers to (de)provision add-ons in the background and then report back when (de)provisioning is complete.

Returns:



125
126
127
# File 'lib/platform-api/client.rb', line 125

def addon_action
  @addon_action_resource ||= AddonAction.new(@client)
end

#addon_attachmentAddonAttachment

An add-on attachment represents a connection between an app and an add-on that it has been given access to.

Returns:



132
133
134
# File 'lib/platform-api/client.rb', line 132

def addon_attachment
  @addon_attachment_resource ||= AddonAttachment.new(@client)
end

#addon_configAddonConfig

Configuration of an Add-on

Returns:



139
140
141
# File 'lib/platform-api/client.rb', line 139

def addon_config
  @addon_config_resource ||= AddonConfig.new(@client)
end

#addon_plan_actionAddonPlanAction

Add-on Plan Actions are Provider functionality for specific add-on installations

Returns:



146
147
148
# File 'lib/platform-api/client.rb', line 146

def addon_plan_action
  @addon_plan_action_resource ||= AddonPlanAction.new(@client)
end

#addon_region_capabilityAddonRegionCapability

Add-on region capabilities represent the relationship between an Add-on Service and a specific Region. Only Beta and GA add-ons are returned by these endpoints.



153
154
155
# File 'lib/platform-api/client.rb', line 153

def addon_region_capability
  @addon_region_capability_resource ||= AddonRegionCapability.new(@client)
end

#addon_serviceAddonService

Add-on services represent add-ons that may be provisioned for apps. Endpoints under add-on services can be accessed without authentication.

Returns:



160
161
162
# File 'lib/platform-api/client.rb', line 160

def addon_service
  @addon_service_resource ||= AddonService.new(@client)
end

#addon_webhookAddonWebhook

Represents the details of a webhook subscription

Returns:



181
182
183
# File 'lib/platform-api/client.rb', line 181

def addon_webhook
  @addon_webhook_resource ||= AddonWebhook.new(@client)
end

#addon_webhook_deliveryAddonWebhookDelivery

Represents the delivery of a webhook notification, including its current status.



167
168
169
# File 'lib/platform-api/client.rb', line 167

def addon_webhook_delivery
  @addon_webhook_delivery_resource ||= AddonWebhookDelivery.new(@client)
end

#addon_webhook_eventAddonWebhookEvent

Represents a webhook event that occurred.

Returns:



174
175
176
# File 'lib/platform-api/client.rb', line 174

def addon_webhook_event
  @addon_webhook_event_resource ||= AddonWebhookEvent.new(@client)
end

#allowed_addon_serviceAllowedAddonService

Entities that have been allowed to be used by a Team

Returns:



195
196
197
# File 'lib/platform-api/client.rb', line 195

def allowed_addon_service
  @allowed_addon_service_resource ||= AllowedAddonService.new(@client)
end

#appApp

An app represents the program that you would like to deploy and run on Heroku.

Returns:



244
245
246
# File 'lib/platform-api/client.rb', line 244

def app
  @app_resource ||= App.new(@client)
end

#app_featureAppFeature

An app feature represents a Heroku labs capability that can be enabled or disabled for an app on Heroku.

Returns:



202
203
204
# File 'lib/platform-api/client.rb', line 202

def app_feature
  @app_feature_resource ||= AppFeature.new(@client)
end

#app_setupAppSetup

An app setup represents an app on Heroku that is setup using an environment, addons, and scripts described in an app.json manifest file.

Returns:



209
210
211
# File 'lib/platform-api/client.rb', line 209

def app_setup
  @app_setup_resource ||= AppSetup.new(@client)
end

#app_transferAppTransfer

An app transfer represents a two party interaction for transferring ownership of an app.

Returns:



216
217
218
# File 'lib/platform-api/client.rb', line 216

def app_transfer
  @app_transfer_resource ||= AppTransfer.new(@client)
end

#app_webhookAppWebhook

Represents the details of a webhook subscription

Returns:



237
238
239
# File 'lib/platform-api/client.rb', line 237

def app_webhook
  @app_webhook_resource ||= AppWebhook.new(@client)
end

#app_webhook_deliveryAppWebhookDelivery

Represents the delivery of a webhook notification, including its current status.

Returns:



223
224
225
# File 'lib/platform-api/client.rb', line 223

def app_webhook_delivery
  @app_webhook_delivery_resource ||= AppWebhookDelivery.new(@client)
end

#app_webhook_eventAppWebhookEvent

Represents a webhook event that occurred.

Returns:



230
231
232
# File 'lib/platform-api/client.rb', line 230

def app_webhook_event
  @app_webhook_event_resource ||= AppWebhookEvent.new(@client)
end

#archiveArchive

An audit trail archive represents a monthly json zipped file containing events

Returns:



251
252
253
# File 'lib/platform-api/client.rb', line 251

def archive
  @archive_resource ||= Archive.new(@client)
end

#audit_trail_eventAuditTrailEvent

An audit trail event represents some action on the platform

Returns:



258
259
260
# File 'lib/platform-api/client.rb', line 258

def audit_trail_event
  @audit_trail_event_resource ||= AuditTrailEvent.new(@client)
end

#buildBuild

A build represents the process of transforming a code tarball into a slug

Returns:



265
266
267
# File 'lib/platform-api/client.rb', line 265

def build
  @build_resource ||= Build.new(@client)
end

#buildpack_installationBuildpackInstallation

A buildpack installation represents a buildpack that will be run against an app.



272
273
274
# File 'lib/platform-api/client.rb', line 272

def buildpack_installation
  @buildpack_installation_resource ||= BuildpackInstallation.new(@client)
end

#collaboratorCollaborator

A collaborator represents an account that has been given access to an app on Heroku.

Returns:



279
280
281
# File 'lib/platform-api/client.rb', line 279

def collaborator
  @collaborator_resource ||= Collaborator.new(@client)
end

#config_varConfigVar

Config Vars allow you to manage the configuration information provided to an app on Heroku.

Returns:



286
287
288
# File 'lib/platform-api/client.rb', line 286

def config_var
  @config_var_resource ||= ConfigVar.new(@client)
end

#creditCredit

A credit represents value that will be used up before further charges are assigned to an account.

Returns:



293
294
295
# File 'lib/platform-api/client.rb', line 293

def credit
  @credit_resource ||= Credit.new(@client)
end

#domainDomain

Domains define what web routes should be routed to an app on Heroku.

Returns:



300
301
302
# File 'lib/platform-api/client.rb', line 300

def domain
  @domain_resource ||= Domain.new(@client)
end

#dynoDyno

Dynos encapsulate running processes of an app on Heroku. Detailed information about dyno sizes can be found at: https://devcenter.heroku.com/articles/dyno-types.

Returns:



314
315
316
# File 'lib/platform-api/client.rb', line 314

def dyno
  @dyno_resource ||= Dyno.new(@client)
end

#dyno_sizeDynoSize

Dyno sizes are the values and details of sizes that can be assigned to dynos. This information can also be found at : https://devcenter.heroku.com/articles/dyno-types.

Returns:



307
308
309
# File 'lib/platform-api/client.rb', line 307

def dyno_size
  @dyno_size_resource ||= DynoSize.new(@client)
end

#enterprise_accountEnterpriseAccount

Enterprise accounts allow companies to manage their development teams and billing.

Returns:



342
343
344
# File 'lib/platform-api/client.rb', line 342

def 
  @enterprise_account_resource ||= EnterpriseAccount.new(@client)
end

#enterprise_account_daily_usageEnterpriseAccountDailyUsage

Usage for an enterprise account at a daily resolution.



321
322
323
# File 'lib/platform-api/client.rb', line 321

def 
  @enterprise_account_daily_usage_resource ||= EnterpriseAccountDailyUsage.new(@client)
end

#enterprise_account_memberEnterpriseAccountMember

Enterprise account members are users with access to an enterprise account.



328
329
330
# File 'lib/platform-api/client.rb', line 328

def 
  @enterprise_account_member_resource ||= EnterpriseAccountMember.new(@client)
end

#enterprise_account_monthly_usageEnterpriseAccountMonthlyUsage

Usage for an enterprise account at a monthly resolution.



335
336
337
# File 'lib/platform-api/client.rb', line 335

def 
  @enterprise_account_monthly_usage_resource ||= EnterpriseAccountMonthlyUsage.new(@client)
end

#filter_appsFilterApps

Filters are special endpoints to allow for API consumers to specify a subset of resources to consume in order to reduce the number of requests that are performed. Each filter endpoint endpoint is responsible for determining its supported request format. The endpoints are over POST in order to handle large request bodies without hitting request uri query length limitations, but the requests themselves are idempotent and will not have side effects.

Returns:



349
350
351
# File 'lib/platform-api/client.rb', line 349

def filter_apps
  @filter_apps_resource ||= FilterApps.new(@client)
end

#formationFormation

The formation of processes that should be maintained for an app. Update the formation to scale processes or change dyno sizes. Available process type names and commands are defined by the process_types attribute for the slug currently released on an app.

Returns:



356
357
358
# File 'lib/platform-api/client.rb', line 356

def formation
  @formation_resource ||= Formation.new(@client)
end

#identity_providerIdentityProvider

Identity Providers represent the SAML configuration of teams or an Enterprise account

Returns:



363
364
365
# File 'lib/platform-api/client.rb', line 363

def identity_provider
  @identity_provider_resource ||= IdentityProvider.new(@client)
end

#inbound_rulesetInboundRuleset

An inbound-ruleset is a collection of rules that specify what hosts can or cannot connect to an application.

Returns:



370
371
372
# File 'lib/platform-api/client.rb', line 370

def inbound_ruleset
  @inbound_ruleset_resource ||= InboundRuleset.new(@client)
end

#invoiceInvoice

An invoice is an itemized bill of goods for an account which includes pricing and charges.

Returns:



384
385
386
# File 'lib/platform-api/client.rb', line 384

def invoice
  @invoice_resource ||= Invoice.new(@client)
end

#invoice_addressInvoiceAddress

An invoice address represents the address that should be listed on an invoice.

Returns:



377
378
379
# File 'lib/platform-api/client.rb', line 377

def invoice_address
  @invoice_address_resource ||= InvoiceAddress.new(@client)
end

#keyKey

Keys represent public SSH keys associated with an account and are used to authorize accounts as they are performing git operations.

Returns:



391
392
393
# File 'lib/platform-api/client.rb', line 391

def key
  @key_resource ||= Key.new(@client)
end

#log_drainLogDrain

Log drains provide a way to forward your Heroku logs to an external syslog server for long-term archiving. This external service must be configured to receive syslog packets from Heroku, whereupon its URL can be added to an app using this API. Some add-ons will add a log drain when they are provisioned to an app. These drains can only be removed by removing the add-on.

Returns:



398
399
400
# File 'lib/platform-api/client.rb', line 398

def log_drain
  @log_drain_resource ||= LogDrain.new(@client)
end

#log_sessionLogSession

A log session is a reference to the http based log stream for an app.

Returns:



405
406
407
# File 'lib/platform-api/client.rb', line 405

def log_session
  @log_session_resource ||= LogSession.new(@client)
end

#oauth_authorizationOauthAuthorization

OAuth authorizations represent clients that a Heroku user has authorized to automate, customize or extend their usage of the platform. For more information please refer to the Heroku OAuth documentation

Returns:



412
413
414
# File 'lib/platform-api/client.rb', line 412

def oauth_authorization
  @oauth_authorization_resource ||= OauthAuthorization.new(@client)
end

#oauth_clientOauthClient

OAuth clients are applications that Heroku users can authorize to automate, customize or extend their usage of the platform. For more information please refer to the Heroku OAuth documentation.

Returns:



419
420
421
# File 'lib/platform-api/client.rb', line 419

def oauth_client
  @oauth_client_resource ||= OauthClient.new(@client)
end

#oauth_grantOauthGrant

OAuth grants are used to obtain authorizations on behalf of a user. For more information please refer to the Heroku OAuth documentation

Returns:



426
427
428
# File 'lib/platform-api/client.rb', line 426

def oauth_grant
  @oauth_grant_resource ||= OauthGrant.new(@client)
end

#oauth_tokenOauthToken

OAuth tokens provide access for authorized clients to act on behalf of a Heroku user to automate, customize or extend their usage of the platform. For more information please refer to the Heroku OAuth documentation

Returns:



433
434
435
# File 'lib/platform-api/client.rb', line 433

def oauth_token
  @oauth_token_resource ||= OauthToken.new(@client)
end

#outbound_rulesetOutboundRuleset

An outbound-ruleset is a collection of rules that specify what hosts Dynos are allowed to communicate with.

Returns:



440
441
442
# File 'lib/platform-api/client.rb', line 440

def outbound_ruleset
  @outbound_ruleset_resource ||= OutboundRuleset.new(@client)
end

#password_resetPasswordReset

A password reset represents a in-process password reset attempt.

Returns:



447
448
449
# File 'lib/platform-api/client.rb', line 447

def password_reset
  @password_reset_resource ||= PasswordReset.new(@client)
end

#peeringPeering

Peering provides a way to peer your Private Space VPC to another AWS VPC.

Returns:



461
462
463
# File 'lib/platform-api/client.rb', line 461

def peering
  @peering_resource ||= Peering.new(@client)
end

#peering_infoPeeringInfo

Peering Info gives you the information necessary to peer an AWS VPC to a Private Space.

Returns:



454
455
456
# File 'lib/platform-api/client.rb', line 454

def peering_info
  @peering_info_resource ||= PeeringInfo.new(@client)
end

#permission_entityPermissionEntity

An owned entity including users' permissions.

Returns:



468
469
470
# File 'lib/platform-api/client.rb', line 468

def permission_entity
  @permission_entity_resource ||= PermissionEntity.new(@client)
end

#pipelinePipeline

A pipeline allows grouping of apps into different stages.

Returns:



538
539
540
# File 'lib/platform-api/client.rb', line 538

def pipeline
  @pipeline_resource ||= Pipeline.new(@client)
end

#pipeline_buildPipelineBuild

Information about latest builds of apps in a pipeline.

Returns:



475
476
477
# File 'lib/platform-api/client.rb', line 475

def pipeline_build
  @pipeline_build_resource ||= PipelineBuild.new(@client)
end

#pipeline_config_varPipelineConfigVar

Pipeline Config Vars allow you to manage the configuration information provided to a pipeline.

Returns:



482
483
484
# File 'lib/platform-api/client.rb', line 482

def pipeline_config_var
  @pipeline_config_var_resource ||= PipelineConfigVar.new(@client)
end

#pipeline_couplingPipelineCoupling

Information about an app's coupling to a pipeline

Returns:



489
490
491
# File 'lib/platform-api/client.rb', line 489

def pipeline_coupling
  @pipeline_coupling_resource ||= PipelineCoupling.new(@client)
end

#pipeline_deploymentPipelineDeployment

Information about latest deployments of apps in a pipeline.

Returns:



496
497
498
# File 'lib/platform-api/client.rb', line 496

def pipeline_deployment
  @pipeline_deployment_resource ||= PipelineDeployment.new(@client)
end

#pipeline_promotionPipelinePromotion

Promotions allow you to move code from an app in a pipeline to all targets

Returns:



510
511
512
# File 'lib/platform-api/client.rb', line 510

def pipeline_promotion
  @pipeline_promotion_resource ||= PipelinePromotion.new(@client)
end

#pipeline_promotion_targetPipelinePromotionTarget

Promotion targets represent an individual app being promoted to



503
504
505
# File 'lib/platform-api/client.rb', line 503

def pipeline_promotion_target
  @pipeline_promotion_target_resource ||= PipelinePromotionTarget.new(@client)
end

#pipeline_releasePipelineRelease

Information about latest releases of apps in a pipeline.

Returns:



517
518
519
# File 'lib/platform-api/client.rb', line 517

def pipeline_release
  @pipeline_release_resource ||= PipelineRelease.new(@client)
end

#pipeline_stackPipelineStack

A pipeline's stack is determined by the apps in the pipeline. This is used during creation of CI and Review Apps that have no stack defined in app.json

Returns:



524
525
526
# File 'lib/platform-api/client.rb', line 524

def pipeline_stack
  @pipeline_stack_resource ||= PipelineStack.new(@client)
end

#pipeline_transferPipelineTransfer

A pipeline transfer is the process of changing pipeline ownership along with the contained apps.

Returns:



531
532
533
# File 'lib/platform-api/client.rb', line 531

def pipeline_transfer
  @pipeline_transfer_resource ||= PipelineTransfer.new(@client)
end

#planPlan

Plans represent different configurations of add-ons that may be added to apps. Endpoints under add-on services can be accessed without authentication.

Returns:



545
546
547
# File 'lib/platform-api/client.rb', line 545

def plan
  @plan_resource ||= Plan.new(@client)
end

#rate_limitRateLimit

Rate Limit represents the number of request tokens each account holds. Requests to this endpoint do not count towards the rate limit.

Returns:



552
553
554
# File 'lib/platform-api/client.rb', line 552

def rate_limit
  @rate_limit_resource ||= RateLimit.new(@client)
end

#regionRegion

A region represents a geographic location in which your application may run.

Returns:



559
560
561
# File 'lib/platform-api/client.rb', line 559

def region
  @region_resource ||= Region.new(@client)
end

#releaseRelease

A release represents a combination of code, config vars and add-ons for an app on Heroku.

Returns:



566
567
568
# File 'lib/platform-api/client.rb', line 566

def release
  @release_resource ||= Release.new(@client)
end

#review_appReviewApp

An ephemeral app to review a set of changes

Returns:



573
574
575
# File 'lib/platform-api/client.rb', line 573

def review_app
  @review_app_resource ||= ReviewApp.new(@client)
end

#review_app_configReviewAppConfig

Review apps can be configured for pipelines.

Returns:



580
581
582
# File 'lib/platform-api/client.rb', line 580

def review_app_config
  @review_app_config_resource ||= ReviewAppConfig.new(@client)
end

#slugSlug

A slug is a snapshot of your application code that is ready to run on the platform.

Returns:



587
588
589
# File 'lib/platform-api/client.rb', line 587

def slug
  @slug_resource ||= Slug.new(@client)
end

#sms_numberSmsNumber

SMS numbers are used for recovery on accounts with two-factor authentication enabled.

Returns:



594
595
596
# File 'lib/platform-api/client.rb', line 594

def sms_number
  @sms_number_resource ||= SmsNumber.new(@client)
end

#sni_endpointSniEndpoint

SNI Endpoint is a public address serving a custom SSL cert for HTTPS traffic, using the SNI TLS extension, to a Heroku app.

Returns:



601
602
603
# File 'lib/platform-api/client.rb', line 601

def sni_endpoint
  @sni_endpoint_resource ||= SniEndpoint.new(@client)
end

#sourceSource

A source is a location for uploading and downloading an application's source code.

Returns:



608
609
610
# File 'lib/platform-api/client.rb', line 608

def source
  @source_resource ||= Source.new(@client)
end

#spaceSpace

A space is an isolated, highly available, secure app execution environment.

Returns:



643
644
645
# File 'lib/platform-api/client.rb', line 643

def space
  @space_resource ||= Space.new(@client)
end

#space_app_accessSpaceAppAccess

Space access represents the permissions a particular user has on a particular space.

Returns:



615
616
617
# File 'lib/platform-api/client.rb', line 615

def space_app_access
  @space_app_access_resource ||= SpaceAppAccess.new(@client)
end

#space_natSpaceNat

Network address translation (NAT) for stable outbound IP addresses from a space

Returns:



622
623
624
# File 'lib/platform-api/client.rb', line 622

def space_nat
  @space_nat_resource ||= SpaceNat.new(@client)
end

#space_topologySpaceTopology

Space Topology provides you with a mechanism for viewing all the running dynos, formations and applications for a space. This is the same data thats used to power our DNS Service Discovery.

Returns:



629
630
631
# File 'lib/platform-api/client.rb', line 629

def space_topology
  @space_topology_resource ||= SpaceTopology.new(@client)
end

#space_transferSpaceTransfer

Transfer spaces between enterprise teams with the same Enterprise Account.

Returns:



636
637
638
# File 'lib/platform-api/client.rb', line 636

def space_transfer
  @space_transfer_resource ||= SpaceTransfer.new(@client)
end

#stackStack

Stacks are the different application execution environments available in the Heroku platform.

Returns:



650
651
652
# File 'lib/platform-api/client.rb', line 650

def stack
  @stack_resource ||= Stack.new(@client)
end

#teamTeam

Teams allow you to manage access to a shared group of applications and other resources.

Returns:



748
749
750
# File 'lib/platform-api/client.rb', line 748

def team
  @team_resource ||= Team.new(@client)
end

#team_addonTeamAddon

Returns:



657
658
659
# File 'lib/platform-api/client.rb', line 657

def team_addon
  @team_addon_resource ||= TeamAddon.new(@client)
end

#team_appTeamApp

A team app encapsulates the team specific functionality of Heroku apps.

Returns:



678
679
680
# File 'lib/platform-api/client.rb', line 678

def team_app
  @team_app_resource ||= TeamApp.new(@client)
end

#team_app_collaboratorTeamAppCollaborator

A team collaborator represents an account that has been given access to a team app on Heroku.

Returns:



664
665
666
# File 'lib/platform-api/client.rb', line 664

def team_app_collaborator
  @team_app_collaborator_resource ||= TeamAppCollaborator.new(@client)
end

#team_app_permissionTeamAppPermission

A team app permission is a behavior that is assigned to a user in a team app.

Returns:



671
672
673
# File 'lib/platform-api/client.rb', line 671

def team_app_permission
  @team_app_permission_resource ||= TeamAppPermission.new(@client)
end

#team_daily_usageTeamDailyUsage

Usage for an enterprise team at a daily resolution.

Returns:



685
686
687
# File 'lib/platform-api/client.rb', line 685

def team_daily_usage
  @team_daily_usage_resource ||= TeamDailyUsage.new(@client)
end

#team_delinquencyTeamDelinquency

A Heroku team becomes delinquent due to non-payment. We suspend and delete delinquent teams if their invoices remain unpaid.

Returns:



692
693
694
# File 'lib/platform-api/client.rb', line 692

def team_delinquency
  @team_delinquency_resource ||= TeamDelinquency.new(@client)
end

#team_featureTeamFeature

A team feature represents a feature enabled on a team account.

Returns:



699
700
701
# File 'lib/platform-api/client.rb', line 699

def team_feature
  @team_feature_resource ||= TeamFeature.new(@client)
end

#team_invitationTeamInvitation

A team invitation represents an invite to a team.

Returns:



706
707
708
# File 'lib/platform-api/client.rb', line 706

def team_invitation
  @team_invitation_resource ||= TeamInvitation.new(@client)
end

#team_invoiceTeamInvoice

A Team Invoice is an itemized bill of goods for a team which includes pricing and charges.

Returns:



713
714
715
# File 'lib/platform-api/client.rb', line 713

def team_invoice
  @team_invoice_resource ||= TeamInvoice.new(@client)
end

#team_memberTeamMember

A team member is an individual with access to a team.

Returns:



720
721
722
# File 'lib/platform-api/client.rb', line 720

def team_member
  @team_member_resource ||= TeamMember.new(@client)
end

#team_monthly_usageTeamMonthlyUsage

Usage for an enterprise team at a monthly resolution.

Returns:



727
728
729
# File 'lib/platform-api/client.rb', line 727

def team_monthly_usage
  @team_monthly_usage_resource ||= TeamMonthlyUsage.new(@client)
end

#team_preferencesTeamPreferences

Tracks a Team's Preferences

Returns:



734
735
736
# File 'lib/platform-api/client.rb', line 734

def team_preferences
  @team_preferences_resource ||= TeamPreferences.new(@client)
end

#team_spaceTeamSpace

A space is an isolated, highly available, secure app execution environment.

Returns:



741
742
743
# File 'lib/platform-api/client.rb', line 741

def team_space
  @team_space_resource ||= TeamSpace.new(@client)
end

#test_caseTestCase

A single test case belonging to a test run

Returns:



755
756
757
# File 'lib/platform-api/client.rb', line 755

def test_case
  @test_case_resource ||= TestCase.new(@client)
end

#test_nodeTestNode

A single test node belonging to a test run

Returns:



762
763
764
# File 'lib/platform-api/client.rb', line 762

def test_node
  @test_node_resource ||= TestNode.new(@client)
end

#test_runTestRun

An execution or trial of one or more tests

Returns:



769
770
771
# File 'lib/platform-api/client.rb', line 769

def test_run
  @test_run_resource ||= TestRun.new(@client)
end

#user_preferencesUserPreferences

Tracks a user's preferences and message dismissals

Returns:



776
777
778
# File 'lib/platform-api/client.rb', line 776

def user_preferences
  @user_preferences_resource ||= UserPreferences.new(@client)
end

#vpn_connectionVpnConnection

VPN provides a way to connect your Private Spaces to your network via VPN.

Returns:



783
784
785
# File 'lib/platform-api/client.rb', line 783

def vpn_connection
  @vpn_connection_resource ||= VpnConnection.new(@client)
end