Class: Google::Apis::AppengineV1::Application

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/appengine_v1/classes.rb,
generated/google/apis/appengine_v1/representations.rb,
generated/google/apis/appengine_v1/representations.rb

Overview

An Application resource contains the top-level configuration of an App Engine application. Next tag: 19

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ Application

Returns a new instance of Application



1149
1150
1151
# File 'generated/google/apis/appengine_v1/classes.rb', line 1149

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#auth_domainString

Google Apps authentication domain that controls which users can access this application.Defaults to open access for any Google Account. Corresponds to the JSON property authDomain

Returns:

  • (String)


1080
1081
1082
# File 'generated/google/apis/appengine_v1/classes.rb', line 1080

def auth_domain
  @auth_domain
end

#code_bucketString

Google Cloud Storage bucket that can be used for storing files associated with this application. This bucket is associated with the application and can be used by the gcloud deployment commands.@OutputOnly Corresponds to the JSON property codeBucket

Returns:

  • (String)


1092
1093
1094
# File 'generated/google/apis/appengine_v1/classes.rb', line 1092

def code_bucket
  @code_bucket
end

#default_bucketString

Google Cloud Storage bucket that can be used by this application to store content.@OutputOnly Corresponds to the JSON property defaultBucket

Returns:

  • (String)


1098
1099
1100
# File 'generated/google/apis/appengine_v1/classes.rb', line 1098

def default_bucket
  @default_bucket
end

Cookie expiration policy for this application. Corresponds to the JSON property defaultCookieExpiration

Returns:

  • (String)


1122
1123
1124
# File 'generated/google/apis/appengine_v1/classes.rb', line 1122

def default_cookie_expiration
  @default_cookie_expiration
end

#default_hostnameString

Hostname used to reach this application, as resolved by App Engine.@OutputOnly Corresponds to the JSON property defaultHostname

Returns:

  • (String)


1147
1148
1149
# File 'generated/google/apis/appengine_v1/classes.rb', line 1147

def default_hostname
  @default_hostname
end

#dispatch_rulesArray<Google::Apis::AppengineV1::UrlDispatchRule>

HTTP path dispatch rules for requests to the application that do not explicitly target a service or version. Rules are order-dependent. Up to 20 dispatch rules can be supported.@OutputOnly Corresponds to the JSON property dispatchRules



1105
1106
1107
# File 'generated/google/apis/appengine_v1/classes.rb', line 1105

def dispatch_rules
  @dispatch_rules
end

#gcr_domainString

The Google Container Registry domain used for storing managed build docker images for this application. Corresponds to the JSON property gcrDomain

Returns:

  • (String)


1111
1112
1113
# File 'generated/google/apis/appengine_v1/classes.rb', line 1111

def gcr_domain
  @gcr_domain
end

#iapGoogle::Apis::AppengineV1::IdentityAwareProxy

Identity-Aware Proxy Corresponds to the JSON property iap



1085
1086
1087
# File 'generated/google/apis/appengine_v1/classes.rb', line 1085

def iap
  @iap
end

#idString

Identifier of the Application resource. This identifier is equivalent to the project ID of the Google Cloud Platform project where you want to deploy your application. Example: myapp. Corresponds to the JSON property id

Returns:

  • (String)


1129
1130
1131
# File 'generated/google/apis/appengine_v1/classes.rb', line 1129

def id
  @id
end

#location_idString

Location from which this application will be run. Application instances will run out of data centers in the chosen location, which is also where all of the application's end user content is stored.Defaults to us-central.Options are:us- central - Central USeurope-west - Western Europeus-east1 - Eastern US Corresponds to the JSON property locationId

Returns:

  • (String)


1137
1138
1139
# File 'generated/google/apis/appengine_v1/classes.rb', line 1137

def location_id
  @location_id
end

#nameString

Full path to the Application resource in the API. Example: apps/myapp.@ OutputOnly Corresponds to the JSON property name

Returns:

  • (String)


1117
1118
1119
# File 'generated/google/apis/appengine_v1/classes.rb', line 1117

def name
  @name
end

#serving_statusString

Serving status of this application. Corresponds to the JSON property servingStatus

Returns:

  • (String)


1142
1143
1144
# File 'generated/google/apis/appengine_v1/classes.rb', line 1142

def serving_status
  @serving_status
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
# File 'generated/google/apis/appengine_v1/classes.rb', line 1154

def update!(**args)
  @auth_domain = args[:auth_domain] if args.key?(:auth_domain)
  @iap = args[:iap] if args.key?(:iap)
  @code_bucket = args[:code_bucket] if args.key?(:code_bucket)
  @default_bucket = args[:default_bucket] if args.key?(:default_bucket)
  @dispatch_rules = args[:dispatch_rules] if args.key?(:dispatch_rules)
  @gcr_domain = args[:gcr_domain] if args.key?(:gcr_domain)
  @name = args[:name] if args.key?(:name)
  @default_cookie_expiration = args[:default_cookie_expiration] if args.key?(:default_cookie_expiration)
  @id = args[:id] if args.key?(:id)
  @location_id = args[:location_id] if args.key?(:location_id)
  @serving_status = args[:serving_status] if args.key?(:serving_status)
  @default_hostname = args[:default_hostname] if args.key?(:default_hostname)
end