generated/google/apis/appengine_v1/classes.rb in google-api-client-0.28.4 vs generated/google/apis/appengine_v1/classes.rb in google-api-client-0.28.5
- old
+ new
@@ -926,17 +926,25 @@
# Corresponds to the JSON property `splitHealthChecks`
# @return [Boolean]
attr_accessor :split_health_checks
alias_method :split_health_checks?, :split_health_checks
+ # If true, use Container-Optimized OS (https://cloud.google.com/container-
+ # optimized-os/) base image for VMs, rather than a base Debian image.
+ # Corresponds to the JSON property `useContainerOptimizedOs`
+ # @return [Boolean]
+ attr_accessor :use_container_optimized_os
+ alias_method :use_container_optimized_os?, :use_container_optimized_os
+
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@split_health_checks = args[:split_health_checks] if args.key?(:split_health_checks)
+ @use_container_optimized_os = args[:use_container_optimized_os] if args.key?(:use_container_optimized_os)
end
end
# Single source file that is part of the version to be deployed. Each source
# file that is deployed must be specified separately.
@@ -1694,10 +1702,17 @@
# the short name, not the resource path.Defaults to default.
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
+ # Enable session affinity. Only applicable in the App Engine flexible
+ # environment.
+ # Corresponds to the JSON property `sessionAffinity`
+ # @return [Boolean]
+ attr_accessor :session_affinity
+ alias_method :session_affinity?, :session_affinity
+
# Google Cloud Platform sub-network where the virtual machines are created.
# Specify the short name, not the resource path.If a subnetwork name is
# specified, a network name will also be required unless it is for the default
# network.
# If the network that the instance is being created in is a Legacy network, then
@@ -1722,10 +1737,11 @@
# Update properties of this object
def update!(**args)
@forwarded_ports = args[:forwarded_ports] if args.key?(:forwarded_ports)
@instance_tag = args[:instance_tag] if args.key?(:instance_tag)
@name = args[:name] if args.key?(:name)
+ @session_affinity = args[:session_affinity] if args.key?(:session_affinity)
@subnetwork_name = args[:subnetwork_name] if args.key?(:subnetwork_name)
end
end
# Target scaling by network usage. Only applicable in the App Engine flexible
@@ -1855,62 +1871,10 @@
@response = args[:response] if args.key?(:response)
end
end
# Metadata for the given google.longrunning.Operation.
- class OperationMetadata
- include Google::Apis::Core::Hashable
-
- # Timestamp that this operation completed.@OutputOnly
- # Corresponds to the JSON property `endTime`
- # @return [String]
- attr_accessor :end_time
-
- # Timestamp that this operation was created.@OutputOnly
- # Corresponds to the JSON property `insertTime`
- # @return [String]
- attr_accessor :insert_time
-
- # API method that initiated this operation. Example: google.appengine.v1beta4.
- # Version.CreateVersion.@OutputOnly
- # Corresponds to the JSON property `method`
- # @return [String]
- attr_accessor :method_prop
-
- # Type of this operation. Deprecated, use method field instead. Example: "
- # create_version".@OutputOnly
- # Corresponds to the JSON property `operationType`
- # @return [String]
- attr_accessor :operation_type
-
- # Name of the resource that this operation is acting on. Example: apps/myapp/
- # modules/default.@OutputOnly
- # Corresponds to the JSON property `target`
- # @return [String]
- attr_accessor :target
-
- # User who requested this operation.@OutputOnly
- # Corresponds to the JSON property `user`
- # @return [String]
- attr_accessor :user
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @end_time = args[:end_time] if args.key?(:end_time)
- @insert_time = args[:insert_time] if args.key?(:insert_time)
- @method_prop = args[:method_prop] if args.key?(:method_prop)
- @operation_type = args[:operation_type] if args.key?(:operation_type)
- @target = args[:target] if args.key?(:target)
- @user = args[:user] if args.key?(:user)
- end
- end
-
- # Metadata for the given google.longrunning.Operation.
class OperationMetadataV1
include Google::Apis::Core::Hashable
# Metadata for the given google.longrunning.Operation during a google.appengine.
# v1.CreateVersionRequest.
@@ -2101,55 +2065,10 @@
@user = args[:user] if args.key?(:user)
@warning = args[:warning] if args.key?(:warning)
end
end
- # Metadata for the given google.longrunning.Operation.
- class OperationMetadataV1Beta5
- include Google::Apis::Core::Hashable
-
- # Timestamp that this operation completed.@OutputOnly
- # Corresponds to the JSON property `endTime`
- # @return [String]
- attr_accessor :end_time
-
- # Timestamp that this operation was created.@OutputOnly
- # Corresponds to the JSON property `insertTime`
- # @return [String]
- attr_accessor :insert_time
-
- # API method name that initiated this operation. Example: google.appengine.
- # v1beta5.Version.CreateVersion.@OutputOnly
- # Corresponds to the JSON property `method`
- # @return [String]
- attr_accessor :method_prop
-
- # Name of the resource that this operation is acting on. Example: apps/myapp/
- # services/default.@OutputOnly
- # Corresponds to the JSON property `target`
- # @return [String]
- attr_accessor :target
-
- # User who requested this operation.@OutputOnly
- # Corresponds to the JSON property `user`
- # @return [String]
- attr_accessor :user
-
- def initialize(**args)
- update!(**args)
- end
-
- # Update properties of this object
- def update!(**args)
- @end_time = args[:end_time] if args.key?(:end_time)
- @insert_time = args[:insert_time] if args.key?(:insert_time)
- @method_prop = args[:method_prop] if args.key?(:method_prop)
- @target = args[:target] if args.key?(:target)
- @user = args[:user] if args.key?(:user)
- end
- end
-
# Readiness checking configuration for VM instances. Unhealthy instances are
# removed from traffic rotation.
class ReadinessCheck
include Google::Apis::Core::Hashable
@@ -2951,12 +2870,17 @@
# Corresponds to the JSON property `vm`
# @return [Boolean]
attr_accessor :vm
alias_method :vm?, :vm
+ # VPC access connector specification.
+ # Corresponds to the JSON property `vpcAccessConnector`
+ # @return [Google::Apis::AppengineV1::VpcAccessConnector]
+ attr_accessor :vpc_access_connector
+
# The Google Compute Engine zones that are supported by this version in the App
- # Engine flexible environment.
+ # Engine flexible environment. Deprecated.
# Corresponds to the JSON property `zones`
# @return [Array<String>]
attr_accessor :zones
def initialize(**args)
@@ -2998,10 +2922,11 @@
@runtime_main_executable_path = args[:runtime_main_executable_path] if args.key?(:runtime_main_executable_path)
@serving_status = args[:serving_status] if args.key?(:serving_status)
@threadsafe = args[:threadsafe] if args.key?(:threadsafe)
@version_url = args[:version_url] if args.key?(:version_url)
@vm = args[:vm] if args.key?(:vm)
+ @vpc_access_connector = args[:vpc_access_connector] if args.key?(:vpc_access_connector)
@zones = args[:zones] if args.key?(:zones)
end
end
# Volumes mounted within the app container. Only applicable in the App Engine
@@ -3031,9 +2956,29 @@
# Update properties of this object
def update!(**args)
@name = args[:name] if args.key?(:name)
@size_gb = args[:size_gb] if args.key?(:size_gb)
@volume_type = args[:volume_type] if args.key?(:volume_type)
+ end
+ end
+
+ # VPC access connector specification.
+ class VpcAccessConnector
+ include Google::Apis::Core::Hashable
+
+ # Full Serverless VPC Access Connector name e.g. /projects/my-project/locations/
+ # us-central1/connectors/c1.
+ # Corresponds to the JSON property `name`
+ # @return [String]
+ attr_accessor :name
+
+ def initialize(**args)
+ update!(**args)
+ end
+
+ # Update properties of this object
+ def update!(**args)
+ @name = args[:name] if args.key?(:name)
end
end
# The zip file information for a zip deployment.
class ZipInfo