google-api-client 0.17.3 → 0.17.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +26 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +77 -2
- data/generated/google/apis/androidenterprise_v1/representations.rb +31 -0
- data/generated/google/apis/androidenterprise_v1/service.rb +100 -0
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +300 -0
- data/generated/google/apis/androidmanagement_v1/representations.rb +76 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +5 -2
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -8
- data/generated/google/apis/cloudbuild_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1.rb +1 -1
- data/generated/google/apis/cloudkms_v1/classes.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +20 -10
- data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/service.rb +11 -6
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +782 -111
- data/generated/google/apis/compute_alpha/representations.rb +282 -2
- data/generated/google/apis/compute_alpha/service.rb +611 -6
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +342 -43
- data/generated/google/apis/compute_beta/representations.rb +109 -0
- data/generated/google/apis/compute_beta/service.rb +225 -6
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +48 -43
- data/generated/google/apis/compute_v1/service.rb +6 -6
- data/generated/google/apis/container_v1beta1/classes.rb +17 -0
- data/generated/google/apis/container_v1beta1/representations.rb +1 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +131 -9
- data/generated/google/apis/content_v2/representations.rb +38 -0
- data/generated/google/apis/content_v2/service.rb +35 -23
- data/generated/google/apis/content_v2sandbox.rb +1 -1
- data/generated/google/apis/content_v2sandbox/classes.rb +99 -9
- data/generated/google/apis/content_v2sandbox/representations.rb +22 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/service.rb +11 -11
- data/generated/google/apis/firestore_v1beta1.rb +1 -1
- data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
- data/generated/google/apis/fusiontables_v2.rb +1 -1
- data/generated/google/apis/fusiontables_v2/service.rb +37 -0
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +26 -177
- data/generated/google/apis/ml_v1/representations.rb +3 -0
- data/generated/google/apis/ml_v1/service.rb +3 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +10 -1
- data/generated/google/apis/monitoring_v3/representations.rb +1 -0
- data/generated/google/apis/poly_v1.rb +32 -0
- data/generated/google/apis/poly_v1/classes.rb +426 -0
- data/generated/google/apis/poly_v1/representations.rb +194 -0
- data/generated/google/apis/poly_v1/service.rb +273 -0
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +243 -0
- data/generated/google/apis/pubsub_v1/representations.rb +115 -0
- data/generated/google/apis/pubsub_v1/service.rb +269 -1
- data/generated/google/apis/speech_v1.rb +4 -1
- data/generated/google/apis/speech_v1beta1.rb +4 -1
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +1 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/generated/google/apis/youtube_v3/classes.rb +13 -0
- data/generated/google/apis/youtube_v3/representations.rb +2 -0
- data/lib/google/apis/core/base_service.rb +4 -1
- data/lib/google/apis/options.rb +5 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow-enterprise/
|
27
27
|
module DialogflowV2beta1
|
28
28
|
VERSION = 'V2beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20171124'
|
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'
|
@@ -80,7 +80,7 @@ module Google
|
|
80
80
|
end
|
81
81
|
|
82
82
|
# Exports the specified agent to a ZIP file.
|
83
|
-
# Operation<response: ExportAgentResponse,
|
83
|
+
# Operation <response: ExportAgentResponse,
|
84
84
|
# metadata: google.protobuf.Struct>
|
85
85
|
# @param [String] parent
|
86
86
|
# Required. The project that the agent to export is associated with.
|
@@ -119,7 +119,7 @@ module Google
|
|
119
119
|
# Uploads new intents and entity types without deleting the existing ones.
|
120
120
|
# Intents and entity types with the same name are replaced with the new
|
121
121
|
# versions from ImportAgentRequest.
|
122
|
-
# Operation<response: google.protobuf.Empty,
|
122
|
+
# Operation <response: google.protobuf.Empty,
|
123
123
|
# metadata: google.protobuf.Struct>
|
124
124
|
# @param [String] parent
|
125
125
|
# Required. The project that the agent to import is associated with.
|
@@ -157,7 +157,7 @@ module Google
|
|
157
157
|
# Restores the specified agent from a ZIP file.
|
158
158
|
# Replaces the current agent version with a new one. All the intents and
|
159
159
|
# entity types in the older version are deleted.
|
160
|
-
# Operation<response: google.protobuf.Empty,
|
160
|
+
# Operation <response: google.protobuf.Empty,
|
161
161
|
# metadata: google.protobuf.Struct>
|
162
162
|
# @param [String] parent
|
163
163
|
# Required. The project that the agent to restore is associated with.
|
@@ -237,7 +237,7 @@ module Google
|
|
237
237
|
end
|
238
238
|
|
239
239
|
# Trains the specified agent.
|
240
|
-
# Operation<response: google.protobuf.Empty,
|
240
|
+
# Operation <response: google.protobuf.Empty,
|
241
241
|
# metadata: google.protobuf.Struct>
|
242
242
|
# @param [String] parent
|
243
243
|
# Required. The project that the agent to train is associated with.
|
@@ -273,7 +273,7 @@ module Google
|
|
273
273
|
end
|
274
274
|
|
275
275
|
# Deletes entity types in the specified agent.
|
276
|
-
# Operation<response: google.protobuf.Empty,
|
276
|
+
# Operation <response: google.protobuf.Empty,
|
277
277
|
# metadata: google.protobuf.Struct>
|
278
278
|
# @param [String] parent
|
279
279
|
# Required. The name of the agent to delete all entities types for. Format:
|
@@ -309,7 +309,7 @@ module Google
|
|
309
309
|
end
|
310
310
|
|
311
311
|
# Updates/Creates multiple entity types in the specified agent.
|
312
|
-
# Operation<response: BatchUpdateEntityTypesResponse,
|
312
|
+
# Operation <response: BatchUpdateEntityTypesResponse,
|
313
313
|
# metadata: google.protobuf.Struct>
|
314
314
|
# @param [String] parent
|
315
315
|
# Required. The name of the agent to update or create entity types in.
|
@@ -547,7 +547,7 @@ module Google
|
|
547
547
|
|
548
548
|
# Creates multiple new entities in the specified entity type (extends the
|
549
549
|
# existing collection of entries).
|
550
|
-
# Operation<response: google.protobuf.Empty>
|
550
|
+
# Operation <response: google.protobuf.Empty>
|
551
551
|
# @param [String] parent
|
552
552
|
# Required. The name of the entity type to create entities in. Format:
|
553
553
|
# `projects/<Project ID>/agent/entityTypes/<Entity Type ID>`.
|
@@ -582,7 +582,7 @@ module Google
|
|
582
582
|
end
|
583
583
|
|
584
584
|
# Deletes entities in the specified entity type.
|
585
|
-
# Operation<response: google.protobuf.Empty,
|
585
|
+
# Operation <response: google.protobuf.Empty,
|
586
586
|
# metadata: google.protobuf.Struct>
|
587
587
|
# @param [String] parent
|
588
588
|
# Required. The name of the entity type to delete entries for. Format:
|
@@ -619,7 +619,7 @@ module Google
|
|
619
619
|
|
620
620
|
# Updates entities in the specified entity type (replaces the existing
|
621
621
|
# collection of entries).
|
622
|
-
# Operation<response: google.protobuf.Empty,
|
622
|
+
# Operation <response: google.protobuf.Empty,
|
623
623
|
# metadata: google.protobuf.Struct>
|
624
624
|
# @param [String] parent
|
625
625
|
# Required. The name of the entity type to update the entities in. Format:
|
@@ -655,7 +655,7 @@ module Google
|
|
655
655
|
end
|
656
656
|
|
657
657
|
# Deletes intents in the specified agent.
|
658
|
-
# Operation<response: google.protobuf.Empty>
|
658
|
+
# Operation <response: google.protobuf.Empty>
|
659
659
|
# @param [String] parent
|
660
660
|
# Required. The name of the agent to delete all entities types for. Format:
|
661
661
|
# `projects/<Project ID>/agent`.
|
@@ -690,7 +690,7 @@ module Google
|
|
690
690
|
end
|
691
691
|
|
692
692
|
# Updates/Creates multiple intents in the specified agent.
|
693
|
-
# Operation<response: BatchUpdateIntentsResponse>
|
693
|
+
# Operation <response: BatchUpdateIntentsResponse>
|
694
694
|
# @param [String] parent
|
695
695
|
# Required. The name of the agent to update or create intents in.
|
696
696
|
# Format: `projects/<Project ID>/agent`.
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://cloud.google.com/firestore
|
26
26
|
module FirestoreV1beta1
|
27
27
|
VERSION = 'V1beta1'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20171128'
|
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'
|
@@ -331,7 +331,7 @@ module Google
|
|
331
331
|
# The document's fields.
|
332
332
|
# The map keys represent field names.
|
333
333
|
# A simple field name contains only characters `a` to `z`, `A` to `Z`,
|
334
|
-
# `0` to `9`, or `_`, and must not start with `0` to `9
|
334
|
+
# `0` to `9`, or `_`, and must not start with `0` to `9`. For example,
|
335
335
|
# `foo_bar_17`.
|
336
336
|
# Field names matching the regular expression `__.*__` are reserved. Reserved
|
337
337
|
# field names are forbidden except in certain documented contexts. The map
|
@@ -25,7 +25,7 @@ module Google
|
|
25
25
|
# @see https://developers.google.com/fusiontables
|
26
26
|
module FusiontablesV2
|
27
27
|
VERSION = 'V2'
|
28
|
-
REVISION = '
|
28
|
+
REVISION = '20171117'
|
29
29
|
|
30
30
|
# Manage your Fusion Tables
|
31
31
|
AUTH_FUSIONTABLES = 'https://www.googleapis.com/auth/fusiontables'
|
@@ -985,6 +985,43 @@ module Google
|
|
985
985
|
execute_or_queue_command(command, &block)
|
986
986
|
end
|
987
987
|
|
988
|
+
# Replaces rows of the table with the rows of the spreadsheet that is first
|
989
|
+
# imported from. Current rows remain visible until all replacement rows are
|
990
|
+
# ready.
|
991
|
+
# @param [String] table_id
|
992
|
+
# Table whose rows will be replaced from the spreadsheet.
|
993
|
+
# @param [String] fields
|
994
|
+
# Selector specifying which fields to include in a partial response.
|
995
|
+
# @param [String] quota_user
|
996
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
997
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
998
|
+
# Overrides userIp if both are provided.
|
999
|
+
# @param [String] user_ip
|
1000
|
+
# IP address of the site where the request originates. Use this if you want to
|
1001
|
+
# enforce per-user limits.
|
1002
|
+
# @param [Google::Apis::RequestOptions] options
|
1003
|
+
# Request-specific options
|
1004
|
+
#
|
1005
|
+
# @yield [result, err] Result & error if block supplied
|
1006
|
+
# @yieldparam result [Google::Apis::FusiontablesV2::Task] parsed result object
|
1007
|
+
# @yieldparam err [StandardError] error object if request failed
|
1008
|
+
#
|
1009
|
+
# @return [Google::Apis::FusiontablesV2::Task]
|
1010
|
+
#
|
1011
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1012
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1013
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1014
|
+
def refetch_table_sheet(table_id, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
|
1015
|
+
command = make_simple_command(:post, 'tables/{tableId}/refetch', options)
|
1016
|
+
command.response_representation = Google::Apis::FusiontablesV2::Task::Representation
|
1017
|
+
command.response_class = Google::Apis::FusiontablesV2::Task
|
1018
|
+
command.params['tableId'] = table_id unless table_id.nil?
|
1019
|
+
command.query['fields'] = fields unless fields.nil?
|
1020
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1021
|
+
command.query['userIp'] = user_ip unless user_ip.nil?
|
1022
|
+
execute_or_queue_command(command, &block)
|
1023
|
+
end
|
1024
|
+
|
988
1025
|
# Replaces rows of an existing table. Current rows remain visible until all
|
989
1026
|
# replacement rows are ready.
|
990
1027
|
# @param [String] table_id
|
@@ -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 = '20171127'
|
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'
|
@@ -596,6 +596,11 @@ module Google
|
|
596
596
|
# @return [String]
|
597
597
|
attr_accessor :operation_type
|
598
598
|
|
599
|
+
# Contains the project number associated with the operation.
|
600
|
+
# Corresponds to the JSON property `projectNumber`
|
601
|
+
# @return [Fixnum]
|
602
|
+
attr_accessor :project_number
|
603
|
+
|
599
604
|
# The time operation processing started.
|
600
605
|
# Corresponds to the JSON property `startTime`
|
601
606
|
# @return [String]
|
@@ -624,6 +629,7 @@ module Google
|
|
624
629
|
@labels = args[:labels] if args.key?(:labels)
|
625
630
|
@model_name = args[:model_name] if args.key?(:model_name)
|
626
631
|
@operation_type = args[:operation_type] if args.key?(:operation_type)
|
632
|
+
@project_number = args[:project_number] if args.key?(:project_number)
|
627
633
|
@start_time = args[:start_time] if args.key?(:start_time)
|
628
634
|
@version = args[:version] if args.key?(:version)
|
629
635
|
end
|
@@ -697,183 +703,6 @@ module Google
|
|
697
703
|
end
|
698
704
|
|
699
705
|
# Request for predictions to be issued against a trained model.
|
700
|
-
# The body of the request is a single JSON object with a single top-level
|
701
|
-
# field:
|
702
|
-
# <dl>
|
703
|
-
# <dt>instances</dt>
|
704
|
-
# <dd>A JSON array containing values representing the instances to use for
|
705
|
-
# prediction.</dd>
|
706
|
-
# </dl>
|
707
|
-
# The structure of each element of the instances list is determined by your
|
708
|
-
# model's input definition. Instances can include named inputs or can contain
|
709
|
-
# only unlabeled values.
|
710
|
-
# Not all data includes named inputs. Some instances will be simple
|
711
|
-
# JSON values (boolean, number, or string). However, instances are often lists
|
712
|
-
# of simple values, or complex nested lists. Here are some examples of request
|
713
|
-
# bodies:
|
714
|
-
# CSV data with each row encoded as a string value:
|
715
|
-
# <pre>
|
716
|
-
# `"instances": ["1.0,true,\\"x\\"", "-2.0,false,\\"y\\""]`
|
717
|
-
# </pre>
|
718
|
-
# Plain text:
|
719
|
-
# <pre>
|
720
|
-
# `"instances": ["the quick brown fox", "la bruja le dio"]`
|
721
|
-
# </pre>
|
722
|
-
# Sentences encoded as lists of words (vectors of strings):
|
723
|
-
# <pre>
|
724
|
-
# `
|
725
|
-
# "instances": [
|
726
|
-
# ["the","quick","brown"],
|
727
|
-
# ["la","bruja","le"],
|
728
|
-
# ...
|
729
|
-
# ]
|
730
|
-
# `
|
731
|
-
# </pre>
|
732
|
-
# Floating point scalar values:
|
733
|
-
# <pre>
|
734
|
-
# `"instances": [0.0, 1.1, 2.2]`
|
735
|
-
# </pre>
|
736
|
-
# Vectors of integers:
|
737
|
-
# <pre>
|
738
|
-
# `
|
739
|
-
# "instances": [
|
740
|
-
# [0, 1, 2],
|
741
|
-
# [3, 4, 5],
|
742
|
-
# ...
|
743
|
-
# ]
|
744
|
-
# `
|
745
|
-
# </pre>
|
746
|
-
# Tensors (in this case, two-dimensional tensors):
|
747
|
-
# <pre>
|
748
|
-
# `
|
749
|
-
# "instances": [
|
750
|
-
# [
|
751
|
-
# [0, 1, 2],
|
752
|
-
# [3, 4, 5]
|
753
|
-
# ],
|
754
|
-
# ...
|
755
|
-
# ]
|
756
|
-
# `
|
757
|
-
# </pre>
|
758
|
-
# Images can be represented different ways. In this encoding scheme the first
|
759
|
-
# two dimensions represent the rows and columns of the image, and the third
|
760
|
-
# contains lists (vectors) of the R, G, and B values for each pixel.
|
761
|
-
# <pre>
|
762
|
-
# `
|
763
|
-
# "instances": [
|
764
|
-
# [
|
765
|
-
# [
|
766
|
-
# [138, 30, 66],
|
767
|
-
# [130, 20, 56],
|
768
|
-
# ...
|
769
|
-
# ],
|
770
|
-
# [
|
771
|
-
# [126, 38, 61],
|
772
|
-
# [122, 24, 57],
|
773
|
-
# ...
|
774
|
-
# ],
|
775
|
-
# ...
|
776
|
-
# ],
|
777
|
-
# ...
|
778
|
-
# ]
|
779
|
-
# `
|
780
|
-
# </pre>
|
781
|
-
# JSON strings must be encoded as UTF-8. To send binary data, you must
|
782
|
-
# base64-encode the data and mark it as binary. To mark a JSON string
|
783
|
-
# as binary, replace it with a JSON object with a single attribute named `b64`:
|
784
|
-
# <pre>`"b64": "..."` </pre>
|
785
|
-
# For example:
|
786
|
-
# Two Serialized tf.Examples (fake data, for illustrative purposes only):
|
787
|
-
# <pre>
|
788
|
-
# `"instances": [`"b64": "X5ad6u"`, `"b64": "IA9j4nx"`]`
|
789
|
-
# </pre>
|
790
|
-
# Two JPEG image byte strings (fake data, for illustrative purposes only):
|
791
|
-
# <pre>
|
792
|
-
# `"instances": [`"b64": "ASa8asdf"`, `"b64": "JLK7ljk3"`]`
|
793
|
-
# </pre>
|
794
|
-
# If your data includes named references, format each instance as a JSON object
|
795
|
-
# with the named references as the keys:
|
796
|
-
# JSON input data to be preprocessed:
|
797
|
-
# <pre>
|
798
|
-
# `
|
799
|
-
# "instances": [
|
800
|
-
# `
|
801
|
-
# "a": 1.0,
|
802
|
-
# "b": true,
|
803
|
-
# "c": "x"
|
804
|
-
# `,
|
805
|
-
# `
|
806
|
-
# "a": -2.0,
|
807
|
-
# "b": false,
|
808
|
-
# "c": "y"
|
809
|
-
# `
|
810
|
-
# ]
|
811
|
-
# `
|
812
|
-
# </pre>
|
813
|
-
# Some models have an underlying TensorFlow graph that accepts multiple input
|
814
|
-
# tensors. In this case, you should use the names of JSON name/value pairs to
|
815
|
-
# identify the input tensors, as shown in the following exmaples:
|
816
|
-
# For a graph with input tensor aliases "tag" (string) and "image"
|
817
|
-
# (base64-encoded string):
|
818
|
-
# <pre>
|
819
|
-
# `
|
820
|
-
# "instances": [
|
821
|
-
# `
|
822
|
-
# "tag": "beach",
|
823
|
-
# "image": `"b64": "ASa8asdf"`
|
824
|
-
# `,
|
825
|
-
# `
|
826
|
-
# "tag": "car",
|
827
|
-
# "image": `"b64": "JLK7ljk3"`
|
828
|
-
# `
|
829
|
-
# ]
|
830
|
-
# `
|
831
|
-
# </pre>
|
832
|
-
# For a graph with input tensor aliases "tag" (string) and "image"
|
833
|
-
# (3-dimensional array of 8-bit ints):
|
834
|
-
# <pre>
|
835
|
-
# `
|
836
|
-
# "instances": [
|
837
|
-
# `
|
838
|
-
# "tag": "beach",
|
839
|
-
# "image": [
|
840
|
-
# [
|
841
|
-
# [138, 30, 66],
|
842
|
-
# [130, 20, 56],
|
843
|
-
# ...
|
844
|
-
# ],
|
845
|
-
# [
|
846
|
-
# [126, 38, 61],
|
847
|
-
# [122, 24, 57],
|
848
|
-
# ...
|
849
|
-
# ],
|
850
|
-
# ...
|
851
|
-
# ]
|
852
|
-
# `,
|
853
|
-
# `
|
854
|
-
# "tag": "car",
|
855
|
-
# "image": [
|
856
|
-
# [
|
857
|
-
# [255, 0, 102],
|
858
|
-
# [255, 0, 97],
|
859
|
-
# ...
|
860
|
-
# ],
|
861
|
-
# [
|
862
|
-
# [254, 1, 101],
|
863
|
-
# [254, 2, 93],
|
864
|
-
# ...
|
865
|
-
# ],
|
866
|
-
# ...
|
867
|
-
# ]
|
868
|
-
# `,
|
869
|
-
# ...
|
870
|
-
# ]
|
871
|
-
# `
|
872
|
-
# </pre>
|
873
|
-
# If the call is successful, the response body will contain one prediction
|
874
|
-
# entry per instance in the request body. If prediction fails for any
|
875
|
-
# instance, the response body will contain no predictions and will contian
|
876
|
-
# a single error entry instead.
|
877
706
|
class GoogleCloudMlV1PredictRequest
|
878
707
|
include Google::Apis::Core::Hashable
|
879
708
|
|
@@ -974,6 +803,18 @@ module Google
|
|
974
803
|
# @return [String]
|
975
804
|
attr_accessor :runtime_version
|
976
805
|
|
806
|
+
# Optional. The name of the signature defined in the SavedModel to use for
|
807
|
+
# this job. Please refer to
|
808
|
+
# [SavedModel](https://tensorflow.github.io/serving/serving_basic.html)
|
809
|
+
# for information about how to use signatures.
|
810
|
+
# Defaults to
|
811
|
+
# [DEFAULT_SERVING_SIGNATURE_DEF_KEY](https://www.tensorflow.org/api_docs/python/
|
812
|
+
# tf/saved_model/signature_constants)
|
813
|
+
# , which is "serving_default".
|
814
|
+
# Corresponds to the JSON property `signatureName`
|
815
|
+
# @return [String]
|
816
|
+
attr_accessor :signature_name
|
817
|
+
|
977
818
|
# Use this field if you want to specify a Google Cloud Storage path for
|
978
819
|
# the model to use.
|
979
820
|
# Corresponds to the JSON property `uri`
|
@@ -1003,6 +844,7 @@ module Google
|
|
1003
844
|
@output_path = args[:output_path] if args.key?(:output_path)
|
1004
845
|
@region = args[:region] if args.key?(:region)
|
1005
846
|
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
|
847
|
+
@signature_name = args[:signature_name] if args.key?(:signature_name)
|
1006
848
|
@uri = args[:uri] if args.key?(:uri)
|
1007
849
|
@version_name = args[:version_name] if args.key?(:version_name)
|
1008
850
|
end
|
@@ -1180,6 +1022,12 @@ module Google
|
|
1180
1022
|
# @return [String]
|
1181
1023
|
attr_accessor :python_module
|
1182
1024
|
|
1025
|
+
# Optional. The version of Python used in training. If not set, the default
|
1026
|
+
# version is '2.7'.
|
1027
|
+
# Corresponds to the JSON property `pythonVersion`
|
1028
|
+
# @return [String]
|
1029
|
+
attr_accessor :python_version
|
1030
|
+
|
1183
1031
|
# Required. The Google Compute Engine region to run the training job in.
|
1184
1032
|
# Corresponds to the JSON property `region`
|
1185
1033
|
# @return [String]
|
@@ -1229,6 +1077,7 @@ module Google
|
|
1229
1077
|
@parameter_server_count = args[:parameter_server_count] if args.key?(:parameter_server_count)
|
1230
1078
|
@parameter_server_type = args[:parameter_server_type] if args.key?(:parameter_server_type)
|
1231
1079
|
@python_module = args[:python_module] if args.key?(:python_module)
|
1080
|
+
@python_version = args[:python_version] if args.key?(:python_version)
|
1232
1081
|
@region = args[:region] if args.key?(:region)
|
1233
1082
|
@runtime_version = args[:runtime_version] if args.key?(:runtime_version)
|
1234
1083
|
@scale_tier = args[:scale_tier] if args.key?(:scale_tier)
|
@@ -367,6 +367,7 @@ module Google
|
|
367
367
|
hash :labels, as: 'labels'
|
368
368
|
property :model_name, as: 'modelName'
|
369
369
|
property :operation_type, as: 'operationType'
|
370
|
+
property :project_number, :numeric_string => true, as: 'projectNumber'
|
370
371
|
property :start_time, as: 'startTime'
|
371
372
|
property :version, as: 'version', class: Google::Apis::MlV1::GoogleCloudMlV1Version, decorator: Google::Apis::MlV1::GoogleCloudMlV1Version::Representation
|
372
373
|
|
@@ -405,6 +406,7 @@ module Google
|
|
405
406
|
property :output_path, as: 'outputPath'
|
406
407
|
property :region, as: 'region'
|
407
408
|
property :runtime_version, as: 'runtimeVersion'
|
409
|
+
property :signature_name, as: 'signatureName'
|
408
410
|
property :uri, as: 'uri'
|
409
411
|
property :version_name, as: 'versionName'
|
410
412
|
end
|
@@ -438,6 +440,7 @@ module Google
|
|
438
440
|
property :parameter_server_count, :numeric_string => true, as: 'parameterServerCount'
|
439
441
|
property :parameter_server_type, as: 'parameterServerType'
|
440
442
|
property :python_module, as: 'pythonModule'
|
443
|
+
property :python_version, as: 'pythonVersion'
|
441
444
|
property :region, as: 'region'
|
442
445
|
property :runtime_version, as: 'runtimeVersion'
|
443
446
|
property :scale_tier, as: 'scaleTier'
|