google-api-client 0.33.2 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +42 -0
- data/README.md +1 -1
- data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +7 -6
- data/generated/google/apis/cloudshell_v1/representations.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +7 -6
- data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -1
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +38 -26
- data/generated/google/apis/compute_alpha/representations.rb +1 -0
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +31 -26
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +31 -26
- data/generated/google/apis/compute_v1/service.rb +10 -1
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +2 -1
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +32 -1
- data/generated/google/apis/container_v1beta1/representations.rb +4 -0
- data/generated/google/apis/datastore_v1.rb +1 -1
- data/generated/google/apis/datastore_v1/service.rb +85 -1
- data/generated/google/apis/datastore_v1beta3.rb +1 -1
- data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +25 -287
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -115
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +33 -287
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +3 -115
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +19 -11
- data/generated/google/apis/dlp_v2/representations.rb +1 -0
- data/generated/google/apis/dlp_v2/service.rb +43 -0
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/service.rb +3 -3
- data/generated/google/apis/drive_v3.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
- data/generated/google/apis/firebasehosting_v1beta1/classes.rb +37 -0
- data/generated/google/apis/firebasehosting_v1beta1/representations.rb +16 -0
- data/generated/google/apis/firestore_v1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/games_management_v1management.rb +1 -1
- data/generated/google/apis/games_management_v1management/classes.rb +6 -26
- data/generated/google/apis/games_management_v1management/representations.rb +1 -14
- data/generated/google/apis/games_management_v1management/service.rb +0 -158
- data/generated/google/apis/games_v1.rb +1 -1
- data/generated/google/apis/games_v1/classes.rb +6 -292
- data/generated/google/apis/games_v1/representations.rb +1 -98
- data/generated/google/apis/games_v1/service.rb +0 -123
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +2 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +88 -95
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +8 -1
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/jobs_v2.rb +1 -1
- data/generated/google/apis/jobs_v2/classes.rb +167 -0
- data/generated/google/apis/jobs_v2/representations.rb +40 -0
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3/classes.rb +179 -0
- data/generated/google/apis/jobs_v3/representations.rb +41 -0
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
- data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +2 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +57 -23
- data/generated/google/apis/ml_v1/service.rb +6 -2
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +12 -12
- data/generated/google/apis/monitoring_v3/service.rb +2 -2
- data/generated/google/apis/oslogin_v1.rb +1 -1
- data/generated/google/apis/oslogin_v1/service.rb +2 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +67 -63
- data/generated/google/apis/people_v1/service.rb +53 -44
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +0 -11
- data/generated/google/apis/servicecontrol_v1/representations.rb +0 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +1 -2
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +1 -2
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +1 -2
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +1 -2
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +1 -2
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/google-api-client.gemspec +3 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +4 -7
- data/generated/google/apis/dfareporting_v3_2.rb +0 -40
- data/generated/google/apis/dfareporting_v3_2/classes.rb +0 -12299
- data/generated/google/apis/dfareporting_v3_2/representations.rb +0 -4397
- data/generated/google/apis/dfareporting_v3_2/service.rb +0 -8793
|
@@ -250,12 +250,24 @@ module Google
|
|
|
250
250
|
include Google::Apis::Core::JsonObjectSupport
|
|
251
251
|
end
|
|
252
252
|
|
|
253
|
+
class MendelDebugInput
|
|
254
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
|
+
|
|
256
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
257
|
+
end
|
|
258
|
+
|
|
253
259
|
class Money
|
|
254
260
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
255
261
|
|
|
256
262
|
include Google::Apis::Core::JsonObjectSupport
|
|
257
263
|
end
|
|
258
264
|
|
|
265
|
+
class NamespacedDebugInput
|
|
266
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
267
|
+
|
|
268
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
269
|
+
end
|
|
270
|
+
|
|
259
271
|
class NumericBucketingOption
|
|
260
272
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
261
273
|
|
|
@@ -690,6 +702,7 @@ module Google
|
|
|
690
702
|
property :publish_time_range, as: 'publishTimeRange', class: Google::Apis::JobsV3::TimestampRange, decorator: Google::Apis::JobsV3::TimestampRange::Representation
|
|
691
703
|
|
|
692
704
|
property :query, as: 'query'
|
|
705
|
+
property :query_language_code, as: 'queryLanguageCode'
|
|
693
706
|
end
|
|
694
707
|
end
|
|
695
708
|
|
|
@@ -760,6 +773,14 @@ module Google
|
|
|
760
773
|
end
|
|
761
774
|
end
|
|
762
775
|
|
|
776
|
+
class MendelDebugInput
|
|
777
|
+
# @private
|
|
778
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
779
|
+
hash :namespaced_debug_input, as: 'namespacedDebugInput', class: Google::Apis::JobsV3::NamespacedDebugInput, decorator: Google::Apis::JobsV3::NamespacedDebugInput::Representation
|
|
780
|
+
|
|
781
|
+
end
|
|
782
|
+
end
|
|
783
|
+
|
|
763
784
|
class Money
|
|
764
785
|
# @private
|
|
765
786
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -769,6 +790,26 @@ module Google
|
|
|
769
790
|
end
|
|
770
791
|
end
|
|
771
792
|
|
|
793
|
+
class NamespacedDebugInput
|
|
794
|
+
# @private
|
|
795
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
796
|
+
collection :absolutely_forced_exp_names, as: 'absolutelyForcedExpNames'
|
|
797
|
+
collection :absolutely_forced_exp_tags, as: 'absolutelyForcedExpTags'
|
|
798
|
+
collection :absolutely_forced_exps, as: 'absolutelyForcedExps'
|
|
799
|
+
collection :conditionally_forced_exp_names, as: 'conditionallyForcedExpNames'
|
|
800
|
+
collection :conditionally_forced_exp_tags, as: 'conditionallyForcedExpTags'
|
|
801
|
+
collection :conditionally_forced_exps, as: 'conditionallyForcedExps'
|
|
802
|
+
property :disable_automatic_enrollment_selection, as: 'disableAutomaticEnrollmentSelection'
|
|
803
|
+
collection :disable_exp_names, as: 'disableExpNames'
|
|
804
|
+
collection :disable_exp_tags, as: 'disableExpTags'
|
|
805
|
+
collection :disable_exps, as: 'disableExps'
|
|
806
|
+
property :disable_manual_enrollment_selection, as: 'disableManualEnrollmentSelection'
|
|
807
|
+
property :disable_organic_selection, as: 'disableOrganicSelection'
|
|
808
|
+
hash :forced_flags, as: 'forcedFlags'
|
|
809
|
+
hash :forced_rollouts, as: 'forcedRollouts'
|
|
810
|
+
end
|
|
811
|
+
end
|
|
812
|
+
|
|
772
813
|
class NumericBucketingOption
|
|
773
814
|
# @private
|
|
774
815
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/talent-solution/job-search/docs/
|
|
27
27
|
module JobsV3p1beta1
|
|
28
28
|
VERSION = 'V3p1beta1'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191030'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -1750,6 +1750,17 @@ module Google
|
|
|
1750
1750
|
# @return [String]
|
|
1751
1751
|
attr_accessor :query
|
|
1752
1752
|
|
|
1753
|
+
# The language code of query. For example, "en-US". This field helps to
|
|
1754
|
+
# better interpret the query.
|
|
1755
|
+
# If a value isn't specified, the query language code is automatically
|
|
1756
|
+
# detected, which may not be accurate.
|
|
1757
|
+
# Language code should be in BCP-47 format, such as "en-US" or "sr-Latn".
|
|
1758
|
+
# For more information, see
|
|
1759
|
+
# [Tags for Identifying Languages](https://tools.ietf.org/html/bcp47).
|
|
1760
|
+
# Corresponds to the JSON property `queryLanguageCode`
|
|
1761
|
+
# @return [String]
|
|
1762
|
+
attr_accessor :query_language_code
|
|
1763
|
+
|
|
1753
1764
|
def initialize(**args)
|
|
1754
1765
|
update!(**args)
|
|
1755
1766
|
end
|
|
@@ -1769,6 +1780,7 @@ module Google
|
|
|
1769
1780
|
@location_filters = args[:location_filters] if args.key?(:location_filters)
|
|
1770
1781
|
@publish_time_range = args[:publish_time_range] if args.key?(:publish_time_range)
|
|
1771
1782
|
@query = args[:query] if args.key?(:query)
|
|
1783
|
+
@query_language_code = args[:query_language_code] if args.key?(:query_language_code)
|
|
1772
1784
|
end
|
|
1773
1785
|
end
|
|
1774
1786
|
|
|
@@ -2056,6 +2068,34 @@ module Google
|
|
|
2056
2068
|
end
|
|
2057
2069
|
end
|
|
2058
2070
|
|
|
2071
|
+
# Message representing input to a Mendel server for debug forcing.
|
|
2072
|
+
# See go/mendel-debug-forcing for more details.
|
|
2073
|
+
# Next ID: 2
|
|
2074
|
+
class MendelDebugInput
|
|
2075
|
+
include Google::Apis::Core::Hashable
|
|
2076
|
+
|
|
2077
|
+
# When a request spans multiple servers, a MendelDebugInput may travel with
|
|
2078
|
+
# the request and take effect in all the servers. This field is a map of
|
|
2079
|
+
# namespaces to NamespacedMendelDebugInput protos. In a single server, up to
|
|
2080
|
+
# two NamespacedMendelDebugInput protos are applied:
|
|
2081
|
+
# 1. NamespacedMendelDebugInput with the global namespace (key == "").
|
|
2082
|
+
# 2. NamespacedMendelDebugInput with the server's namespace.
|
|
2083
|
+
# When both NamespacedMendelDebugInput protos are present, they are merged.
|
|
2084
|
+
# See go/mendel-debug-forcing for more details.
|
|
2085
|
+
# Corresponds to the JSON property `namespacedDebugInput`
|
|
2086
|
+
# @return [Hash<String,Google::Apis::JobsV3p1beta1::NamespacedDebugInput>]
|
|
2087
|
+
attr_accessor :namespaced_debug_input
|
|
2088
|
+
|
|
2089
|
+
def initialize(**args)
|
|
2090
|
+
update!(**args)
|
|
2091
|
+
end
|
|
2092
|
+
|
|
2093
|
+
# Update properties of this object
|
|
2094
|
+
def update!(**args)
|
|
2095
|
+
@namespaced_debug_input = args[:namespaced_debug_input] if args.key?(:namespaced_debug_input)
|
|
2096
|
+
end
|
|
2097
|
+
end
|
|
2098
|
+
|
|
2059
2099
|
# Represents an amount of money with its currency type.
|
|
2060
2100
|
class Money
|
|
2061
2101
|
include Google::Apis::Core::Hashable
|
|
@@ -2093,6 +2133,145 @@ module Google
|
|
|
2093
2133
|
end
|
|
2094
2134
|
end
|
|
2095
2135
|
|
|
2136
|
+
# Next ID: 15
|
|
2137
|
+
class NamespacedDebugInput
|
|
2138
|
+
include Google::Apis::Core::Hashable
|
|
2139
|
+
|
|
2140
|
+
# Set of experiment names to be absolutely forced.
|
|
2141
|
+
# These experiments will be forced without evaluating the conditions.
|
|
2142
|
+
# Corresponds to the JSON property `absolutelyForcedExpNames`
|
|
2143
|
+
# @return [Array<String>]
|
|
2144
|
+
attr_accessor :absolutely_forced_exp_names
|
|
2145
|
+
|
|
2146
|
+
# Set of experiment tags to be absolutely forced.
|
|
2147
|
+
# The experiments with these tags will be forced without evaluating the
|
|
2148
|
+
# conditions.
|
|
2149
|
+
# Corresponds to the JSON property `absolutelyForcedExpTags`
|
|
2150
|
+
# @return [Array<String>]
|
|
2151
|
+
attr_accessor :absolutely_forced_exp_tags
|
|
2152
|
+
|
|
2153
|
+
# Set of experiment ids to be absolutely forced.
|
|
2154
|
+
# These ids will be forced without evaluating the conditions.
|
|
2155
|
+
# Corresponds to the JSON property `absolutelyForcedExps`
|
|
2156
|
+
# @return [Array<Fixnum>]
|
|
2157
|
+
attr_accessor :absolutely_forced_exps
|
|
2158
|
+
|
|
2159
|
+
# Set of experiment names to be conditionally forced.
|
|
2160
|
+
# These experiments will be forced only if their conditions and their
|
|
2161
|
+
# parent domain's conditions are true.
|
|
2162
|
+
# Corresponds to the JSON property `conditionallyForcedExpNames`
|
|
2163
|
+
# @return [Array<String>]
|
|
2164
|
+
attr_accessor :conditionally_forced_exp_names
|
|
2165
|
+
|
|
2166
|
+
# Set of experiment tags to be conditionally forced.
|
|
2167
|
+
# The experiments with these tags will be forced only if their conditions
|
|
2168
|
+
# and their parent domain's conditions are true.
|
|
2169
|
+
# Corresponds to the JSON property `conditionallyForcedExpTags`
|
|
2170
|
+
# @return [Array<String>]
|
|
2171
|
+
attr_accessor :conditionally_forced_exp_tags
|
|
2172
|
+
|
|
2173
|
+
# Set of experiment ids to be conditionally forced.
|
|
2174
|
+
# These ids will be forced only if their conditions and their parent
|
|
2175
|
+
# domain's conditions are true.
|
|
2176
|
+
# Corresponds to the JSON property `conditionallyForcedExps`
|
|
2177
|
+
# @return [Array<Fixnum>]
|
|
2178
|
+
attr_accessor :conditionally_forced_exps
|
|
2179
|
+
|
|
2180
|
+
# If true, disable automatic enrollment selection (at all diversion
|
|
2181
|
+
# points). Automatic enrollment selection means experiment selection
|
|
2182
|
+
# process based on the experiment's automatic enrollment condition. This
|
|
2183
|
+
# does not disable selection of forced experiments.
|
|
2184
|
+
# Corresponds to the JSON property `disableAutomaticEnrollmentSelection`
|
|
2185
|
+
# @return [Boolean]
|
|
2186
|
+
attr_accessor :disable_automatic_enrollment_selection
|
|
2187
|
+
alias_method :disable_automatic_enrollment_selection?, :disable_automatic_enrollment_selection
|
|
2188
|
+
|
|
2189
|
+
# Set of experiment names to be disabled.
|
|
2190
|
+
# If an experiment is disabled, it is never selected nor forced.
|
|
2191
|
+
# If an aggregate experiment is disabled, its partitions are disabled
|
|
2192
|
+
# together. If an experiment with an enrollment is disabled, the enrollment
|
|
2193
|
+
# is disabled together. If a name corresponds to a domain, the domain
|
|
2194
|
+
# itself and all descendant experiments and domains are disabled together.
|
|
2195
|
+
# Corresponds to the JSON property `disableExpNames`
|
|
2196
|
+
# @return [Array<String>]
|
|
2197
|
+
attr_accessor :disable_exp_names
|
|
2198
|
+
|
|
2199
|
+
# Set of experiment tags to be disabled. All experiments that are tagged
|
|
2200
|
+
# with one or more of these tags are disabled.
|
|
2201
|
+
# If an experiment is disabled, it is never selected nor forced.
|
|
2202
|
+
# If an aggregate experiment is disabled, its partitions are disabled
|
|
2203
|
+
# together. If an experiment with an enrollment is disabled, the enrollment
|
|
2204
|
+
# is disabled together.
|
|
2205
|
+
# Corresponds to the JSON property `disableExpTags`
|
|
2206
|
+
# @return [Array<String>]
|
|
2207
|
+
attr_accessor :disable_exp_tags
|
|
2208
|
+
|
|
2209
|
+
# Set of experiment ids to be disabled.
|
|
2210
|
+
# If an experiment is disabled, it is never selected nor forced.
|
|
2211
|
+
# If an aggregate experiment is disabled, its partitions are disabled
|
|
2212
|
+
# together. If an experiment with an enrollment is disabled, the enrollment
|
|
2213
|
+
# is disabled together. If an ID corresponds to a domain, the domain itself
|
|
2214
|
+
# and all descendant experiments and domains are disabled together.
|
|
2215
|
+
# Corresponds to the JSON property `disableExps`
|
|
2216
|
+
# @return [Array<Fixnum>]
|
|
2217
|
+
attr_accessor :disable_exps
|
|
2218
|
+
|
|
2219
|
+
# If true, disable manual enrollment selection (at all diversion points).
|
|
2220
|
+
# Manual enrollment selection means experiment selection process based on
|
|
2221
|
+
# the request's manual enrollment states (a.k.a. opt-in experiments).
|
|
2222
|
+
# This does not disable selection of forced experiments.
|
|
2223
|
+
# Corresponds to the JSON property `disableManualEnrollmentSelection`
|
|
2224
|
+
# @return [Boolean]
|
|
2225
|
+
attr_accessor :disable_manual_enrollment_selection
|
|
2226
|
+
alias_method :disable_manual_enrollment_selection?, :disable_manual_enrollment_selection
|
|
2227
|
+
|
|
2228
|
+
# If true, disable organic experiment selection (at all diversion points).
|
|
2229
|
+
# Organic selection means experiment selection process based on traffic
|
|
2230
|
+
# allocation and diversion condition evaluation.
|
|
2231
|
+
# This does not disable selection of forced experiments.
|
|
2232
|
+
# This is useful in cases when it is not known whether experiment selection
|
|
2233
|
+
# behavior is responsible for a error or breakage. Disabling organic
|
|
2234
|
+
# selection may help to isolate the cause of a given problem.
|
|
2235
|
+
# Corresponds to the JSON property `disableOrganicSelection`
|
|
2236
|
+
# @return [Boolean]
|
|
2237
|
+
attr_accessor :disable_organic_selection
|
|
2238
|
+
alias_method :disable_organic_selection?, :disable_organic_selection
|
|
2239
|
+
|
|
2240
|
+
# Flags to force in a particular experiment state.
|
|
2241
|
+
# Map from flag name to flag value.
|
|
2242
|
+
# Corresponds to the JSON property `forcedFlags`
|
|
2243
|
+
# @return [Hash<String,String>]
|
|
2244
|
+
attr_accessor :forced_flags
|
|
2245
|
+
|
|
2246
|
+
# Rollouts to force in a particular experiment state.
|
|
2247
|
+
# Map from rollout name to rollout value.
|
|
2248
|
+
# Corresponds to the JSON property `forcedRollouts`
|
|
2249
|
+
# @return [Hash<String,Boolean>]
|
|
2250
|
+
attr_accessor :forced_rollouts
|
|
2251
|
+
|
|
2252
|
+
def initialize(**args)
|
|
2253
|
+
update!(**args)
|
|
2254
|
+
end
|
|
2255
|
+
|
|
2256
|
+
# Update properties of this object
|
|
2257
|
+
def update!(**args)
|
|
2258
|
+
@absolutely_forced_exp_names = args[:absolutely_forced_exp_names] if args.key?(:absolutely_forced_exp_names)
|
|
2259
|
+
@absolutely_forced_exp_tags = args[:absolutely_forced_exp_tags] if args.key?(:absolutely_forced_exp_tags)
|
|
2260
|
+
@absolutely_forced_exps = args[:absolutely_forced_exps] if args.key?(:absolutely_forced_exps)
|
|
2261
|
+
@conditionally_forced_exp_names = args[:conditionally_forced_exp_names] if args.key?(:conditionally_forced_exp_names)
|
|
2262
|
+
@conditionally_forced_exp_tags = args[:conditionally_forced_exp_tags] if args.key?(:conditionally_forced_exp_tags)
|
|
2263
|
+
@conditionally_forced_exps = args[:conditionally_forced_exps] if args.key?(:conditionally_forced_exps)
|
|
2264
|
+
@disable_automatic_enrollment_selection = args[:disable_automatic_enrollment_selection] if args.key?(:disable_automatic_enrollment_selection)
|
|
2265
|
+
@disable_exp_names = args[:disable_exp_names] if args.key?(:disable_exp_names)
|
|
2266
|
+
@disable_exp_tags = args[:disable_exp_tags] if args.key?(:disable_exp_tags)
|
|
2267
|
+
@disable_exps = args[:disable_exps] if args.key?(:disable_exps)
|
|
2268
|
+
@disable_manual_enrollment_selection = args[:disable_manual_enrollment_selection] if args.key?(:disable_manual_enrollment_selection)
|
|
2269
|
+
@disable_organic_selection = args[:disable_organic_selection] if args.key?(:disable_organic_selection)
|
|
2270
|
+
@forced_flags = args[:forced_flags] if args.key?(:forced_flags)
|
|
2271
|
+
@forced_rollouts = args[:forced_rollouts] if args.key?(:forced_rollouts)
|
|
2272
|
+
end
|
|
2273
|
+
end
|
|
2274
|
+
|
|
2096
2275
|
# Input only.
|
|
2097
2276
|
# Use this field to specify bucketing option for the histogram search response.
|
|
2098
2277
|
class NumericBucketingOption
|
|
@@ -268,12 +268,24 @@ module Google
|
|
|
268
268
|
include Google::Apis::Core::JsonObjectSupport
|
|
269
269
|
end
|
|
270
270
|
|
|
271
|
+
class MendelDebugInput
|
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
|
+
|
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
275
|
+
end
|
|
276
|
+
|
|
271
277
|
class Money
|
|
272
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
273
279
|
|
|
274
280
|
include Google::Apis::Core::JsonObjectSupport
|
|
275
281
|
end
|
|
276
282
|
|
|
283
|
+
class NamespacedDebugInput
|
|
284
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
|
+
|
|
286
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
287
|
+
end
|
|
288
|
+
|
|
277
289
|
class NumericBucketingOption
|
|
278
290
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
279
291
|
|
|
@@ -744,6 +756,7 @@ module Google
|
|
|
744
756
|
property :publish_time_range, as: 'publishTimeRange', class: Google::Apis::JobsV3p1beta1::TimestampRange, decorator: Google::Apis::JobsV3p1beta1::TimestampRange::Representation
|
|
745
757
|
|
|
746
758
|
property :query, as: 'query'
|
|
759
|
+
property :query_language_code, as: 'queryLanguageCode'
|
|
747
760
|
end
|
|
748
761
|
end
|
|
749
762
|
|
|
@@ -814,6 +827,14 @@ module Google
|
|
|
814
827
|
end
|
|
815
828
|
end
|
|
816
829
|
|
|
830
|
+
class MendelDebugInput
|
|
831
|
+
# @private
|
|
832
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
833
|
+
hash :namespaced_debug_input, as: 'namespacedDebugInput', class: Google::Apis::JobsV3p1beta1::NamespacedDebugInput, decorator: Google::Apis::JobsV3p1beta1::NamespacedDebugInput::Representation
|
|
834
|
+
|
|
835
|
+
end
|
|
836
|
+
end
|
|
837
|
+
|
|
817
838
|
class Money
|
|
818
839
|
# @private
|
|
819
840
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -823,6 +844,26 @@ module Google
|
|
|
823
844
|
end
|
|
824
845
|
end
|
|
825
846
|
|
|
847
|
+
class NamespacedDebugInput
|
|
848
|
+
# @private
|
|
849
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
850
|
+
collection :absolutely_forced_exp_names, as: 'absolutelyForcedExpNames'
|
|
851
|
+
collection :absolutely_forced_exp_tags, as: 'absolutelyForcedExpTags'
|
|
852
|
+
collection :absolutely_forced_exps, as: 'absolutelyForcedExps'
|
|
853
|
+
collection :conditionally_forced_exp_names, as: 'conditionallyForcedExpNames'
|
|
854
|
+
collection :conditionally_forced_exp_tags, as: 'conditionallyForcedExpTags'
|
|
855
|
+
collection :conditionally_forced_exps, as: 'conditionallyForcedExps'
|
|
856
|
+
property :disable_automatic_enrollment_selection, as: 'disableAutomaticEnrollmentSelection'
|
|
857
|
+
collection :disable_exp_names, as: 'disableExpNames'
|
|
858
|
+
collection :disable_exp_tags, as: 'disableExpTags'
|
|
859
|
+
collection :disable_exps, as: 'disableExps'
|
|
860
|
+
property :disable_manual_enrollment_selection, as: 'disableManualEnrollmentSelection'
|
|
861
|
+
property :disable_organic_selection, as: 'disableOrganicSelection'
|
|
862
|
+
hash :forced_flags, as: 'forcedFlags'
|
|
863
|
+
hash :forced_rollouts, as: 'forcedRollouts'
|
|
864
|
+
end
|
|
865
|
+
end
|
|
866
|
+
|
|
826
867
|
class NumericBucketingOption
|
|
827
868
|
# @private
|
|
828
869
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -26,7 +26,7 @@ module Google
|
|
|
26
26
|
# @see https://cloud.google.com/life-sciences
|
|
27
27
|
module LifesciencesV2beta
|
|
28
28
|
VERSION = 'V2beta'
|
|
29
|
-
REVISION = '
|
|
29
|
+
REVISION = '20191030'
|
|
30
30
|
|
|
31
31
|
# View and manage your data across Google Cloud Platform services
|
|
32
32
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -60,7 +60,8 @@ module Google
|
|
|
60
60
|
# By default, after an action fails, no further actions are run. This flag
|
|
61
61
|
# indicates that this action must be run even if the pipeline has already
|
|
62
62
|
# failed. This is useful for actions that copy output files off of the VM
|
|
63
|
-
# or for debugging.
|
|
63
|
+
# or for debugging. Note that no actions will be run if image prefetching
|
|
64
|
+
# fails.
|
|
64
65
|
# Corresponds to the JSON property `alwaysRun`
|
|
65
66
|
# @return [Boolean]
|
|
66
67
|
attr_accessor :always_run
|
|
@@ -25,7 +25,7 @@ module Google
|
|
|
25
25
|
# @see https://cloud.google.com/ml/
|
|
26
26
|
module MlV1
|
|
27
27
|
VERSION = 'V1'
|
|
28
|
-
REVISION = '
|
|
28
|
+
REVISION = '20191025'
|
|
29
29
|
|
|
30
30
|
# View and manage your data across Google Cloud Platform services
|
|
31
31
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
|
@@ -109,7 +109,10 @@ module Google
|
|
|
109
109
|
end
|
|
110
110
|
|
|
111
111
|
# Represents a hardware accelerator request config.
|
|
112
|
-
# Note that the AcceleratorConfig
|
|
112
|
+
# Note that the AcceleratorConfig can be used in both Jobs and Versions.
|
|
113
|
+
# Learn more about [accelerators for training](/ml-engine/docs/using-gpus) and
|
|
114
|
+
# [accelerators for online
|
|
115
|
+
# prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
|
|
113
116
|
class GoogleCloudMlV1AcceleratorConfig
|
|
114
117
|
include Google::Apis::Core::Hashable
|
|
115
118
|
|
|
@@ -151,9 +154,18 @@ module Google
|
|
|
151
154
|
# increased load as well as scale back as traffic drops, always maintaining
|
|
152
155
|
# at least `min_nodes`. You will be charged for the time in which additional
|
|
153
156
|
# nodes are used.
|
|
154
|
-
# If
|
|
155
|
-
#
|
|
156
|
-
#
|
|
157
|
+
# If `min_nodes` is not specified and AutoScaling is used with a [legacy
|
|
158
|
+
# (MLS1) machine type](/ml-engine/docs/machine-types-online-prediction),
|
|
159
|
+
# `min_nodes` defaults to 0, in which case, when traffic to a model stops
|
|
160
|
+
# (and after a cool-down period), nodes will be shut down and no charges will
|
|
161
|
+
# be incurred until traffic to the model resumes.
|
|
162
|
+
# If `min_nodes` is not specified and AutoScaling is used with a [Compute
|
|
163
|
+
# Engine (N1) machine type](/ml-engine/docs/machine-types-online-prediction),
|
|
164
|
+
# `min_nodes` defaults to 1. `min_nodes` must be at least 1 for use with a
|
|
165
|
+
# Compute Engine machine type.
|
|
166
|
+
# Note that you cannot use AutoScaling if your version uses
|
|
167
|
+
# [GPUs](#Version.FIELDS.accelerator_config). Instead, you must use
|
|
168
|
+
# ManualScaling.
|
|
157
169
|
# You can set `min_nodes` when creating the model version, and you can also
|
|
158
170
|
# update `min_nodes` for an existing version:
|
|
159
171
|
# <pre>
|
|
@@ -165,7 +177,7 @@ module Google
|
|
|
165
177
|
# `
|
|
166
178
|
# </pre>
|
|
167
179
|
# HTTP request:
|
|
168
|
-
# <pre>
|
|
180
|
+
# <pre style="max-width: 626px;">
|
|
169
181
|
# PATCH
|
|
170
182
|
# https://ml.googleapis.com/v1/`name=projects/*/models/*/versions/*`?update_mask=
|
|
171
183
|
# autoScaling.minNodes
|
|
@@ -1176,7 +1188,10 @@ module Google
|
|
|
1176
1188
|
include Google::Apis::Core::Hashable
|
|
1177
1189
|
|
|
1178
1190
|
# Represents a hardware accelerator request config.
|
|
1179
|
-
# Note that the AcceleratorConfig
|
|
1191
|
+
# Note that the AcceleratorConfig can be used in both Jobs and Versions.
|
|
1192
|
+
# Learn more about [accelerators for training](/ml-engine/docs/using-gpus) and
|
|
1193
|
+
# [accelerators for online
|
|
1194
|
+
# prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
|
|
1180
1195
|
# Corresponds to the JSON property `acceleratorConfig`
|
|
1181
1196
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig]
|
|
1182
1197
|
attr_accessor :accelerator_config
|
|
@@ -1636,7 +1651,10 @@ module Google
|
|
|
1636
1651
|
include Google::Apis::Core::Hashable
|
|
1637
1652
|
|
|
1638
1653
|
# Represents a hardware accelerator request config.
|
|
1639
|
-
# Note that the AcceleratorConfig
|
|
1654
|
+
# Note that the AcceleratorConfig can be used in both Jobs and Versions.
|
|
1655
|
+
# Learn more about [accelerators for training](/ml-engine/docs/using-gpus) and
|
|
1656
|
+
# [accelerators for online
|
|
1657
|
+
# prediction](/ml-engine/docs/machine-types-online-prediction#gpus).
|
|
1640
1658
|
# Corresponds to the JSON property `acceleratorConfig`
|
|
1641
1659
|
# @return [Google::Apis::MlV1::GoogleCloudMlV1AcceleratorConfig]
|
|
1642
1660
|
attr_accessor :accelerator_config
|
|
@@ -1697,6 +1715,10 @@ module Google
|
|
|
1697
1715
|
# of the model to 1.4 or greater.
|
|
1698
1716
|
# Do **not** specify a framework if you're deploying a [custom
|
|
1699
1717
|
# prediction routine](/ml-engine/docs/tensorflow/custom-prediction-routines).
|
|
1718
|
+
# If you specify a [Compute Engine (N1) machine
|
|
1719
|
+
# type](/ml-engine/docs/machine-types-online-prediction) in the
|
|
1720
|
+
# `machineType` field, you must specify `TENSORFLOW`
|
|
1721
|
+
# for the framework.
|
|
1700
1722
|
# Corresponds to the JSON property `framework`
|
|
1701
1723
|
# @return [String]
|
|
1702
1724
|
attr_accessor :framework
|
|
@@ -1726,19 +1748,29 @@ module Google
|
|
|
1726
1748
|
attr_accessor :last_use_time
|
|
1727
1749
|
|
|
1728
1750
|
# Optional. The type of machine on which to serve the model. Currently only
|
|
1729
|
-
# applies to online prediction service.
|
|
1730
|
-
#
|
|
1731
|
-
#
|
|
1732
|
-
#
|
|
1733
|
-
#
|
|
1734
|
-
#
|
|
1735
|
-
#
|
|
1736
|
-
#
|
|
1737
|
-
#
|
|
1738
|
-
#
|
|
1739
|
-
#
|
|
1740
|
-
#
|
|
1741
|
-
#
|
|
1751
|
+
# applies to online prediction service. If this field is not specified, it
|
|
1752
|
+
# defaults to `mls1-c1-m2`.
|
|
1753
|
+
# Online prediction supports the following machine types:
|
|
1754
|
+
# * `mls1-c1-m2`
|
|
1755
|
+
# * `mls1-c4-m2`
|
|
1756
|
+
# * `n1-standard-2`
|
|
1757
|
+
# * `n1-standard-4`
|
|
1758
|
+
# * `n1-standard-8`
|
|
1759
|
+
# * `n1-standard-16`
|
|
1760
|
+
# * `n1-standard-32`
|
|
1761
|
+
# * `n1-highmem-2`
|
|
1762
|
+
# * `n1-highmem-4`
|
|
1763
|
+
# * `n1-highmem-8`
|
|
1764
|
+
# * `n1-highmem-16`
|
|
1765
|
+
# * `n1-highmem-32`
|
|
1766
|
+
# * `n1-highcpu-2`
|
|
1767
|
+
# * `n1-highcpu-4`
|
|
1768
|
+
# * `n1-highcpu-8`
|
|
1769
|
+
# * `n1-highcpu-16`
|
|
1770
|
+
# * `n1-highcpu-32`
|
|
1771
|
+
# `mls1-c1-m2` is generally available. All other machine types are available
|
|
1772
|
+
# in beta. Learn more about the [differences between machine
|
|
1773
|
+
# types](/ml-engine/docs/machine-types-online-prediction).
|
|
1742
1774
|
# Corresponds to the JSON property `machineType`
|
|
1743
1775
|
# @return [String]
|
|
1744
1776
|
attr_accessor :machine_type
|
|
@@ -1778,9 +1810,11 @@ module Google
|
|
|
1778
1810
|
# Specify this field if and only if you are deploying a [custom prediction
|
|
1779
1811
|
# routine (beta)](/ml-engine/docs/tensorflow/custom-prediction-routines).
|
|
1780
1812
|
# If you specify this field, you must set
|
|
1781
|
-
# [`runtimeVersion`](#Version.FIELDS.runtime_version) to 1.4 or greater
|
|
1813
|
+
# [`runtimeVersion`](#Version.FIELDS.runtime_version) to 1.4 or greater and
|
|
1814
|
+
# you must set `machineType` to a [legacy (MLS1)
|
|
1815
|
+
# machine type](/ml-engine/docs/machine-types-online-prediction).
|
|
1782
1816
|
# The following code sample provides the Predictor interface:
|
|
1783
|
-
#
|
|
1817
|
+
# <pre style="max-width: 626px;">
|
|
1784
1818
|
# class Predictor(object):
|
|
1785
1819
|
# """Interface for constructing custom predictors."""
|
|
1786
1820
|
# def predict(self, instances, **kwargs):
|
|
@@ -1808,7 +1842,7 @@ module Google
|
|
|
1808
1842
|
# An instance implementing this Predictor class.
|
|
1809
1843
|
# """
|
|
1810
1844
|
# raise NotImplementedError()
|
|
1811
|
-
#
|
|
1845
|
+
# </pre>
|
|
1812
1846
|
# Learn more about [the Predictor interface and custom prediction
|
|
1813
1847
|
# routines](/ml-engine/docs/tensorflow/custom-prediction-routines).
|
|
1814
1848
|
# Corresponds to the JSON property `predictionClass`
|