google-api-client 0.30.10 → 0.31.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/generated/google/apis/alertcenter_v1beta1.rb +1 -1
- data/generated/google/apis/alertcenter_v1beta1/classes.rb +52 -0
- data/generated/google/apis/alertcenter_v1beta1/representations.rb +29 -0
- data/generated/google/apis/androidenterprise_v1.rb +1 -1
- data/generated/google/apis/androidenterprise_v1/classes.rb +0 -6
- data/generated/google/apis/androidenterprise_v1/representations.rb +0 -2
- data/generated/google/apis/androidenterprise_v1/service.rb +1 -2
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +0 -6
- data/generated/google/apis/androidpublisher_v2/representations.rb +0 -1
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +0 -6
- data/generated/google/apis/androidpublisher_v3/representations.rb +0 -1
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +15 -9
- data/generated/google/apis/bigquery_v2/representations.rb +1 -0
- data/generated/google/apis/bigquery_v2/service.rb +24 -24
- data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
- data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +11 -4
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +11 -4
- data/generated/google/apis/bigtableadmin_v2/service.rb +104 -0
- data/generated/google/apis/calendar_v3.rb +1 -1
- data/generated/google/apis/calendar_v3/classes.rb +2 -2
- data/generated/google/apis/cloudtasks_v2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2/classes.rb +11 -4
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +11 -4
- data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta3/classes.rb +11 -4
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +20 -6
- 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 +112 -6
- data/generated/google/apis/compute_beta/representations.rb +58 -0
- data/generated/google/apis/compute_beta/service.rb +118 -0
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1095 -7
- data/generated/google/apis/compute_v1/representations.rb +483 -0
- data/generated/google/apis/compute_v1/service.rb +2307 -468
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +3 -3
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +108 -3
- data/generated/google/apis/container_v1beta1/representations.rb +35 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +41 -0
- data/generated/google/apis/dialogflow_v2/representations.rb +17 -0
- data/generated/google/apis/dialogflow_v2/service.rb +78 -0
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +41 -90
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +17 -55
- data/generated/google/apis/dialogflow_v2beta1/service.rb +78 -75
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/classes.rb +330 -4
- data/generated/google/apis/dns_v1/representations.rb +149 -0
- data/generated/google/apis/dns_v1/service.rb +246 -0
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/classes.rb +8 -8
- data/generated/google/apis/dns_v2beta1.rb +1 -1
- data/generated/google/apis/dns_v2beta1/classes.rb +330 -4
- data/generated/google/apis/dns_v2beta1/representations.rb +149 -0
- data/generated/google/apis/dns_v2beta1/service.rb +246 -0
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +9 -1
- data/generated/google/apis/iam_v1/service.rb +5 -3
- data/generated/google/apis/iap_v1.rb +1 -1
- data/generated/google/apis/iap_v1/classes.rb +11 -4
- data/generated/google/apis/iap_v1beta1.rb +1 -1
- data/generated/google/apis/iap_v1beta1/classes.rb +11 -4
- data/generated/google/apis/jobs_v3.rb +1 -1
- data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/logging_v2/classes.rb +30 -0
- data/generated/google/apis/logging_v2/representations.rb +15 -0
- data/generated/google/apis/logging_v2/service.rb +30 -35
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +60 -59
- data/generated/google/apis/monitoring_v3/service.rb +18 -18
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +40 -40
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +26 -0
- data/generated/google/apis/serviceusage_v1/representations.rb +15 -0
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +26 -0
- data/generated/google/apis/serviceusage_v1beta1/representations.rb +15 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +70 -0
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +20 -0
- data/lib/google/apis/version.rb +1 -1
- metadata +2 -6
- data/generated/google/apis/healthcare_v1alpha2.rb +0 -34
- data/generated/google/apis/healthcare_v1alpha2/classes.rb +0 -2972
- data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -1353
- data/generated/google/apis/healthcare_v1alpha2/service.rb +0 -4053
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
27
27
|
module ContainerV1
|
28
28
|
VERSION = 'V1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190830'
|
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'
|
@@ -32,7 +32,7 @@ module Google
|
|
32
32
|
attr_accessor :accelerator_count
|
33
33
|
|
34
34
|
# The accelerator type resource name. List of supported accelerators
|
35
|
-
# [here](/compute/docs/gpus
|
35
|
+
# [here](/compute/docs/gpus)
|
36
36
|
# Corresponds to the JSON property `acceleratorType`
|
37
37
|
# @return [String]
|
38
38
|
attr_accessor :accelerator_type
|
@@ -1741,9 +1741,9 @@ module Google
|
|
1741
1741
|
attr_accessor :labels
|
1742
1742
|
|
1743
1743
|
# The number of local SSD disks to be attached to the node.
|
1744
|
-
# The limit for this value is
|
1744
|
+
# The limit for this value is dependent upon the maximum number of
|
1745
1745
|
# disks available on a machine per zone. See:
|
1746
|
-
# https://cloud.google.com/compute/docs/disks/local-ssd
|
1746
|
+
# https://cloud.google.com/compute/docs/disks/local-ssd
|
1747
1747
|
# for more information.
|
1748
1748
|
# Corresponds to the JSON property `localSsdCount`
|
1749
1749
|
# @return [Fixnum]
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/container-engine/
|
27
27
|
module ContainerV1beta1
|
28
28
|
VERSION = 'V1beta1'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190830'
|
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'
|
@@ -32,7 +32,7 @@ module Google
|
|
32
32
|
attr_accessor :accelerator_count
|
33
33
|
|
34
34
|
# The accelerator type resource name. List of supported accelerators
|
35
|
-
# [here](/compute/docs/gpus
|
35
|
+
# [here](/compute/docs/gpus)
|
36
36
|
# Corresponds to the JSON property `acceleratorType`
|
37
37
|
# @return [String]
|
38
38
|
attr_accessor :accelerator_type
|
@@ -1926,6 +1926,15 @@ module Google
|
|
1926
1926
|
class MaintenancePolicy
|
1927
1927
|
include Google::Apis::Core::Hashable
|
1928
1928
|
|
1929
|
+
# A hash identifying the version of this policy, so that updates to fields of
|
1930
|
+
# the policy won't accidentally undo intermediate changes (and so that users
|
1931
|
+
# of the API unaware of some fields won't accidentally remove other fields).
|
1932
|
+
# Make a <code>get()</code> request to the cluster to get the current
|
1933
|
+
# resource version and include it with requests to set the policy.
|
1934
|
+
# Corresponds to the JSON property `resourceVersion`
|
1935
|
+
# @return [String]
|
1936
|
+
attr_accessor :resource_version
|
1937
|
+
|
1929
1938
|
# MaintenanceWindow defines the maintenance window to be used for the cluster.
|
1930
1939
|
# Corresponds to the JSON property `window`
|
1931
1940
|
# @return [Google::Apis::ContainerV1beta1::MaintenanceWindow]
|
@@ -1937,6 +1946,7 @@ module Google
|
|
1937
1946
|
|
1938
1947
|
# Update properties of this object
|
1939
1948
|
def update!(**args)
|
1949
|
+
@resource_version = args[:resource_version] if args.key?(:resource_version)
|
1940
1950
|
@window = args[:window] if args.key?(:window)
|
1941
1951
|
end
|
1942
1952
|
end
|
@@ -1950,6 +1960,17 @@ module Google
|
|
1950
1960
|
# @return [Google::Apis::ContainerV1beta1::DailyMaintenanceWindow]
|
1951
1961
|
attr_accessor :daily_maintenance_window
|
1952
1962
|
|
1963
|
+
# Exceptions to maintenance window. Non-emergency maintenance should not
|
1964
|
+
# occur in these windows.
|
1965
|
+
# Corresponds to the JSON property `maintenanceExclusions`
|
1966
|
+
# @return [Hash<String,Google::Apis::ContainerV1beta1::TimeWindow>]
|
1967
|
+
attr_accessor :maintenance_exclusions
|
1968
|
+
|
1969
|
+
# Represents an arbitrary window of time that recurs.
|
1970
|
+
# Corresponds to the JSON property `recurringWindow`
|
1971
|
+
# @return [Google::Apis::ContainerV1beta1::RecurringTimeWindow]
|
1972
|
+
attr_accessor :recurring_window
|
1973
|
+
|
1953
1974
|
def initialize(**args)
|
1954
1975
|
update!(**args)
|
1955
1976
|
end
|
@@ -1957,6 +1978,8 @@ module Google
|
|
1957
1978
|
# Update properties of this object
|
1958
1979
|
def update!(**args)
|
1959
1980
|
@daily_maintenance_window = args[:daily_maintenance_window] if args.key?(:daily_maintenance_window)
|
1981
|
+
@maintenance_exclusions = args[:maintenance_exclusions] if args.key?(:maintenance_exclusions)
|
1982
|
+
@recurring_window = args[:recurring_window] if args.key?(:recurring_window)
|
1960
1983
|
end
|
1961
1984
|
end
|
1962
1985
|
|
@@ -2235,9 +2258,9 @@ module Google
|
|
2235
2258
|
attr_accessor :labels
|
2236
2259
|
|
2237
2260
|
# The number of local SSD disks to be attached to the node.
|
2238
|
-
# The limit for this value is
|
2261
|
+
# The limit for this value is dependent upon the maximum number of
|
2239
2262
|
# disks available on a machine per zone. See:
|
2240
|
-
# https://cloud.google.com/compute/docs/disks/local-ssd
|
2263
|
+
# https://cloud.google.com/compute/docs/disks/local-ssd
|
2241
2264
|
# for more information.
|
2242
2265
|
# Corresponds to the JSON property `localSsdCount`
|
2243
2266
|
# @return [Fixnum]
|
@@ -2832,6 +2855,11 @@ module Google
|
|
2832
2855
|
# @return [String]
|
2833
2856
|
attr_accessor :master_ipv4_cidr_block
|
2834
2857
|
|
2858
|
+
# Output only. The peering name in the customer VPC used by this cluster.
|
2859
|
+
# Corresponds to the JSON property `peeringName`
|
2860
|
+
# @return [String]
|
2861
|
+
attr_accessor :peering_name
|
2862
|
+
|
2835
2863
|
# Output only. The internal IP address of this cluster's master endpoint.
|
2836
2864
|
# Corresponds to the JSON property `privateEndpoint`
|
2837
2865
|
# @return [String]
|
@@ -2852,11 +2880,62 @@ module Google
|
|
2852
2880
|
@enable_private_endpoint = args[:enable_private_endpoint] if args.key?(:enable_private_endpoint)
|
2853
2881
|
@enable_private_nodes = args[:enable_private_nodes] if args.key?(:enable_private_nodes)
|
2854
2882
|
@master_ipv4_cidr_block = args[:master_ipv4_cidr_block] if args.key?(:master_ipv4_cidr_block)
|
2883
|
+
@peering_name = args[:peering_name] if args.key?(:peering_name)
|
2855
2884
|
@private_endpoint = args[:private_endpoint] if args.key?(:private_endpoint)
|
2856
2885
|
@public_endpoint = args[:public_endpoint] if args.key?(:public_endpoint)
|
2857
2886
|
end
|
2858
2887
|
end
|
2859
2888
|
|
2889
|
+
# Represents an arbitrary window of time that recurs.
|
2890
|
+
class RecurringTimeWindow
|
2891
|
+
include Google::Apis::Core::Hashable
|
2892
|
+
|
2893
|
+
# An RRULE (https://tools.ietf.org/html/rfc5545#section-3.8.5.3) for how
|
2894
|
+
# this window reccurs. They go on for the span of time between the start and
|
2895
|
+
# end time.
|
2896
|
+
# For example, to have something repeat every weekday, you'd use:
|
2897
|
+
# <code>FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR</code>
|
2898
|
+
# To repeat some window daily (equivalent to the DailyMaintenanceWindow):
|
2899
|
+
# <code>FREQ=DAILY</code>
|
2900
|
+
# For the first weekend of every month:
|
2901
|
+
# <code>FREQ=MONTHLY;BYSETPOS=1;BYDAY=SA,SU</code>
|
2902
|
+
# This specifies how frequently the window starts. Eg, if you wanted to have
|
2903
|
+
# a 9-5 UTC-4 window every weekday, you'd use something like:
|
2904
|
+
# <code>
|
2905
|
+
# start time = 2019-01-01T09:00:00-0400
|
2906
|
+
# end time = 2019-01-01T17:00:00-0400
|
2907
|
+
# recurrence = FREQ=WEEKLY;BYDAY=MO,TU,WE,TH,FR
|
2908
|
+
# </code>
|
2909
|
+
# Windows can span multiple days. Eg, to make the window encompass every
|
2910
|
+
# weekend from midnight Saturday till the last minute of Sunday UTC:
|
2911
|
+
# <code>
|
2912
|
+
# start time = 2019-01-05T00:00:00Z
|
2913
|
+
# end time = 2019-01-07T23:59:00Z
|
2914
|
+
# recurrence = FREQ=WEEKLY;BYDAY=SA
|
2915
|
+
# </code>
|
2916
|
+
# Note the start and end time's specific dates are largely arbitrary except
|
2917
|
+
# to specify duration of the window and when it first starts.
|
2918
|
+
# The FREQ values of HOURLY, MINUTELY, and SECONDLY are not supported.
|
2919
|
+
# Corresponds to the JSON property `recurrence`
|
2920
|
+
# @return [String]
|
2921
|
+
attr_accessor :recurrence
|
2922
|
+
|
2923
|
+
# Represents an arbitrary window of time.
|
2924
|
+
# Corresponds to the JSON property `window`
|
2925
|
+
# @return [Google::Apis::ContainerV1beta1::TimeWindow]
|
2926
|
+
attr_accessor :window
|
2927
|
+
|
2928
|
+
def initialize(**args)
|
2929
|
+
update!(**args)
|
2930
|
+
end
|
2931
|
+
|
2932
|
+
# Update properties of this object
|
2933
|
+
def update!(**args)
|
2934
|
+
@recurrence = args[:recurrence] if args.key?(:recurrence)
|
2935
|
+
@window = args[:window] if args.key?(:window)
|
2936
|
+
end
|
2937
|
+
end
|
2938
|
+
|
2860
2939
|
# ReleaseChannel indicates which release channel a cluster is
|
2861
2940
|
# subscribed to. Release channels are arranged in order of risk and
|
2862
2941
|
# frequency of updates.
|
@@ -3941,6 +4020,32 @@ module Google
|
|
3941
4020
|
end
|
3942
4021
|
end
|
3943
4022
|
|
4023
|
+
# Represents an arbitrary window of time.
|
4024
|
+
class TimeWindow
|
4025
|
+
include Google::Apis::Core::Hashable
|
4026
|
+
|
4027
|
+
# The time that the window ends. The end time should take place after the
|
4028
|
+
# start time.
|
4029
|
+
# Corresponds to the JSON property `endTime`
|
4030
|
+
# @return [String]
|
4031
|
+
attr_accessor :end_time
|
4032
|
+
|
4033
|
+
# The time that the window first starts.
|
4034
|
+
# Corresponds to the JSON property `startTime`
|
4035
|
+
# @return [String]
|
4036
|
+
attr_accessor :start_time
|
4037
|
+
|
4038
|
+
def initialize(**args)
|
4039
|
+
update!(**args)
|
4040
|
+
end
|
4041
|
+
|
4042
|
+
# Update properties of this object
|
4043
|
+
def update!(**args)
|
4044
|
+
@end_time = args[:end_time] if args.key?(:end_time)
|
4045
|
+
@start_time = args[:start_time] if args.key?(:start_time)
|
4046
|
+
end
|
4047
|
+
end
|
4048
|
+
|
3944
4049
|
# UpdateClusterRequest updates the settings of a cluster.
|
3945
4050
|
class UpdateClusterRequest
|
3946
4051
|
include Google::Apis::Core::Hashable
|
@@ -370,6 +370,12 @@ module Google
|
|
370
370
|
include Google::Apis::Core::JsonObjectSupport
|
371
371
|
end
|
372
372
|
|
373
|
+
class RecurringTimeWindow
|
374
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
|
+
|
376
|
+
include Google::Apis::Core::JsonObjectSupport
|
377
|
+
end
|
378
|
+
|
373
379
|
class ReleaseChannel
|
374
380
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
375
381
|
|
@@ -520,6 +526,12 @@ module Google
|
|
520
526
|
include Google::Apis::Core::JsonObjectSupport
|
521
527
|
end
|
522
528
|
|
529
|
+
class TimeWindow
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
+
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
533
|
+
end
|
534
|
+
|
523
535
|
class UpdateClusterRequest
|
524
536
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
525
537
|
|
@@ -1037,6 +1049,7 @@ module Google
|
|
1037
1049
|
class MaintenancePolicy
|
1038
1050
|
# @private
|
1039
1051
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1052
|
+
property :resource_version, as: 'resourceVersion'
|
1040
1053
|
property :window, as: 'window', class: Google::Apis::ContainerV1beta1::MaintenanceWindow, decorator: Google::Apis::ContainerV1beta1::MaintenanceWindow::Representation
|
1041
1054
|
|
1042
1055
|
end
|
@@ -1047,6 +1060,10 @@ module Google
|
|
1047
1060
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1048
1061
|
property :daily_maintenance_window, as: 'dailyMaintenanceWindow', class: Google::Apis::ContainerV1beta1::DailyMaintenanceWindow, decorator: Google::Apis::ContainerV1beta1::DailyMaintenanceWindow::Representation
|
1049
1062
|
|
1063
|
+
hash :maintenance_exclusions, as: 'maintenanceExclusions', class: Google::Apis::ContainerV1beta1::TimeWindow, decorator: Google::Apis::ContainerV1beta1::TimeWindow::Representation
|
1064
|
+
|
1065
|
+
property :recurring_window, as: 'recurringWindow', class: Google::Apis::ContainerV1beta1::RecurringTimeWindow, decorator: Google::Apis::ContainerV1beta1::RecurringTimeWindow::Representation
|
1066
|
+
|
1050
1067
|
end
|
1051
1068
|
end
|
1052
1069
|
|
@@ -1254,11 +1271,21 @@ module Google
|
|
1254
1271
|
property :enable_private_endpoint, as: 'enablePrivateEndpoint'
|
1255
1272
|
property :enable_private_nodes, as: 'enablePrivateNodes'
|
1256
1273
|
property :master_ipv4_cidr_block, as: 'masterIpv4CidrBlock'
|
1274
|
+
property :peering_name, as: 'peeringName'
|
1257
1275
|
property :private_endpoint, as: 'privateEndpoint'
|
1258
1276
|
property :public_endpoint, as: 'publicEndpoint'
|
1259
1277
|
end
|
1260
1278
|
end
|
1261
1279
|
|
1280
|
+
class RecurringTimeWindow
|
1281
|
+
# @private
|
1282
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1283
|
+
property :recurrence, as: 'recurrence'
|
1284
|
+
property :window, as: 'window', class: Google::Apis::ContainerV1beta1::TimeWindow, decorator: Google::Apis::ContainerV1beta1::TimeWindow::Representation
|
1285
|
+
|
1286
|
+
end
|
1287
|
+
end
|
1288
|
+
|
1262
1289
|
class ReleaseChannel
|
1263
1290
|
# @private
|
1264
1291
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1519,6 +1546,14 @@ module Google
|
|
1519
1546
|
end
|
1520
1547
|
end
|
1521
1548
|
|
1549
|
+
class TimeWindow
|
1550
|
+
# @private
|
1551
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1552
|
+
property :end_time, as: 'endTime'
|
1553
|
+
property :start_time, as: 'startTime'
|
1554
|
+
end
|
1555
|
+
end
|
1556
|
+
|
1522
1557
|
class UpdateClusterRequest
|
1523
1558
|
# @private
|
1524
1559
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -26,7 +26,7 @@ module Google
|
|
26
26
|
# @see https://cloud.google.com/dialogflow/
|
27
27
|
module DialogflowV2
|
28
28
|
VERSION = 'V2'
|
29
|
-
REVISION = '
|
29
|
+
REVISION = '20190909'
|
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'
|
@@ -557,6 +557,12 @@ module Google
|
|
557
557
|
# @return [String]
|
558
558
|
attr_accessor :display_name
|
559
559
|
|
560
|
+
# Optional. Enables fuzzy entity extraction during classification.
|
561
|
+
# Corresponds to the JSON property `enableFuzzyExtraction`
|
562
|
+
# @return [Boolean]
|
563
|
+
attr_accessor :enable_fuzzy_extraction
|
564
|
+
alias_method :enable_fuzzy_extraction?, :enable_fuzzy_extraction
|
565
|
+
|
560
566
|
# Optional. The collection of entity entries associated with the entity type.
|
561
567
|
# Corresponds to the JSON property `entities`
|
562
568
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity>]
|
@@ -583,6 +589,7 @@ module Google
|
|
583
589
|
def update!(**args)
|
584
590
|
@auto_expansion_mode = args[:auto_expansion_mode] if args.key?(:auto_expansion_mode)
|
585
591
|
@display_name = args[:display_name] if args.key?(:display_name)
|
592
|
+
@enable_fuzzy_extraction = args[:enable_fuzzy_extraction] if args.key?(:enable_fuzzy_extraction)
|
586
593
|
@entities = args[:entities] if args.key?(:entities)
|
587
594
|
@kind = args[:kind] if args.key?(:kind)
|
588
595
|
@name = args[:name] if args.key?(:name)
|
@@ -2878,6 +2885,11 @@ module Google
|
|
2878
2885
|
# @return [String]
|
2879
2886
|
attr_accessor :name
|
2880
2887
|
|
2888
|
+
# Metadata for smart reply models.
|
2889
|
+
# Corresponds to the JSON property `smartReplyModelMetadata`
|
2890
|
+
# @return [Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata]
|
2891
|
+
attr_accessor :smart_reply_model_metadata
|
2892
|
+
|
2881
2893
|
# Output only. State of the model. A model can only serve prediction requests
|
2882
2894
|
# after it gets deployed.
|
2883
2895
|
# Corresponds to the JSON property `state`
|
@@ -2895,6 +2907,7 @@ module Google
|
|
2895
2907
|
@datasets = args[:datasets] if args.key?(:datasets)
|
2896
2908
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2897
2909
|
@name = args[:name] if args.key?(:name)
|
2910
|
+
@smart_reply_model_metadata = args[:smart_reply_model_metadata] if args.key?(:smart_reply_model_metadata)
|
2898
2911
|
@state = args[:state] if args.key?(:state)
|
2899
2912
|
end
|
2900
2913
|
end
|
@@ -2916,6 +2929,12 @@ module Google
|
|
2916
2929
|
# @return [String]
|
2917
2930
|
attr_accessor :display_name
|
2918
2931
|
|
2932
|
+
# Optional. Enables fuzzy entity extraction during classification.
|
2933
|
+
# Corresponds to the JSON property `enableFuzzyExtraction`
|
2934
|
+
# @return [Boolean]
|
2935
|
+
attr_accessor :enable_fuzzy_extraction
|
2936
|
+
alias_method :enable_fuzzy_extraction?, :enable_fuzzy_extraction
|
2937
|
+
|
2919
2938
|
# Optional. The collection of entity entries associated with the entity type.
|
2920
2939
|
# Corresponds to the JSON property `entities`
|
2921
2940
|
# @return [Array<Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EntityTypeEntity>]
|
@@ -2942,6 +2961,7 @@ module Google
|
|
2942
2961
|
def update!(**args)
|
2943
2962
|
@auto_expansion_mode = args[:auto_expansion_mode] if args.key?(:auto_expansion_mode)
|
2944
2963
|
@display_name = args[:display_name] if args.key?(:display_name)
|
2964
|
+
@enable_fuzzy_extraction = args[:enable_fuzzy_extraction] if args.key?(:enable_fuzzy_extraction)
|
2945
2965
|
@entities = args[:entities] if args.key?(:entities)
|
2946
2966
|
@kind = args[:kind] if args.key?(:kind)
|
2947
2967
|
@name = args[:name] if args.key?(:name)
|
@@ -4916,6 +4936,27 @@ module Google
|
|
4916
4936
|
end
|
4917
4937
|
end
|
4918
4938
|
|
4939
|
+
# Metadata for smart reply models.
|
4940
|
+
class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
|
4941
|
+
include Google::Apis::Core::Hashable
|
4942
|
+
|
4943
|
+
# Optional. Type of the article suggestion model. The available values are:
|
4944
|
+
# * `smart-reply-dual-encoder-model-1` - (default) Smart Reply Dual Encoder
|
4945
|
+
# model.
|
4946
|
+
# Corresponds to the JSON property `modelType`
|
4947
|
+
# @return [String]
|
4948
|
+
attr_accessor :model_type
|
4949
|
+
|
4950
|
+
def initialize(**args)
|
4951
|
+
update!(**args)
|
4952
|
+
end
|
4953
|
+
|
4954
|
+
# Update properties of this object
|
4955
|
+
def update!(**args)
|
4956
|
+
@model_type = args[:model_type] if args.key?(:model_type)
|
4957
|
+
end
|
4958
|
+
end
|
4959
|
+
|
4919
4960
|
# The request message for a webhook call.
|
4920
4961
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
4921
4962
|
include Google::Apis::Core::Hashable
|
@@ -766,6 +766,12 @@ module Google
|
|
766
766
|
include Google::Apis::Core::JsonObjectSupport
|
767
767
|
end
|
768
768
|
|
769
|
+
class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
|
770
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
771
|
+
|
772
|
+
include Google::Apis::Core::JsonObjectSupport
|
773
|
+
end
|
774
|
+
|
769
775
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
770
776
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
771
777
|
|
@@ -948,6 +954,7 @@ module Google
|
|
948
954
|
class Representation < Google::Apis::Core::JsonRepresentation
|
949
955
|
property :auto_expansion_mode, as: 'autoExpansionMode'
|
950
956
|
property :display_name, as: 'displayName'
|
957
|
+
property :enable_fuzzy_extraction, as: 'enableFuzzyExtraction'
|
951
958
|
collection :entities, as: 'entities', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2EntityTypeEntity::Representation
|
952
959
|
|
953
960
|
property :kind, as: 'kind'
|
@@ -1558,6 +1565,8 @@ module Google
|
|
1558
1565
|
|
1559
1566
|
property :display_name, as: 'displayName'
|
1560
1567
|
property :name, as: 'name'
|
1568
|
+
property :smart_reply_model_metadata, as: 'smartReplyModelMetadata', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1SmartReplyModelMetadata::Representation
|
1569
|
+
|
1561
1570
|
property :state, as: 'state'
|
1562
1571
|
end
|
1563
1572
|
end
|
@@ -1567,6 +1576,7 @@ module Google
|
|
1567
1576
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1568
1577
|
property :auto_expansion_mode, as: 'autoExpansionMode'
|
1569
1578
|
property :display_name, as: 'displayName'
|
1579
|
+
property :enable_fuzzy_extraction, as: 'enableFuzzyExtraction'
|
1570
1580
|
collection :entities, as: 'entities', class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EntityTypeEntity, decorator: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1EntityTypeEntity::Representation
|
1571
1581
|
|
1572
1582
|
property :kind, as: 'kind'
|
@@ -2089,6 +2099,13 @@ module Google
|
|
2089
2099
|
end
|
2090
2100
|
end
|
2091
2101
|
|
2102
|
+
class GoogleCloudDialogflowV2beta1SmartReplyModelMetadata
|
2103
|
+
# @private
|
2104
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2105
|
+
property :model_type, as: 'modelType'
|
2106
|
+
end
|
2107
|
+
end
|
2108
|
+
|
2092
2109
|
class GoogleCloudDialogflowV2beta1WebhookRequest
|
2093
2110
|
# @private
|
2094
2111
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1444,6 +1444,45 @@ module Google
|
|
1444
1444
|
execute_or_queue_command(command, &block)
|
1445
1445
|
end
|
1446
1446
|
|
1447
|
+
# Starts asynchronous cancellation on a long-running operation. The server
|
1448
|
+
# makes a best effort to cancel the operation, but success is not
|
1449
|
+
# guaranteed. If the server doesn't support this method, it returns
|
1450
|
+
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
1451
|
+
# Operations.GetOperation or
|
1452
|
+
# other methods to check whether the cancellation succeeded or whether the
|
1453
|
+
# operation completed despite cancellation. On successful cancellation,
|
1454
|
+
# the operation is not deleted; instead, it becomes an operation with
|
1455
|
+
# an Operation.error value with a google.rpc.Status.code of 1,
|
1456
|
+
# corresponding to `Code.CANCELLED`.
|
1457
|
+
# @param [String] name
|
1458
|
+
# The name of the operation resource to be cancelled.
|
1459
|
+
# @param [String] fields
|
1460
|
+
# Selector specifying which fields to include in a partial response.
|
1461
|
+
# @param [String] quota_user
|
1462
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1463
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1464
|
+
# @param [Google::Apis::RequestOptions] options
|
1465
|
+
# Request-specific options
|
1466
|
+
#
|
1467
|
+
# @yield [result, err] Result & error if block supplied
|
1468
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleProtobufEmpty] parsed result object
|
1469
|
+
# @yieldparam err [StandardError] error object if request failed
|
1470
|
+
#
|
1471
|
+
# @return [Google::Apis::DialogflowV2::GoogleProtobufEmpty]
|
1472
|
+
#
|
1473
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1474
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1475
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1476
|
+
def cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1477
|
+
command = make_simple_command(:post, 'v2/{+name}:cancel', options)
|
1478
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
|
1479
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
|
1480
|
+
command.params['name'] = name unless name.nil?
|
1481
|
+
command.query['fields'] = fields unless fields.nil?
|
1482
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1483
|
+
execute_or_queue_command(command, &block)
|
1484
|
+
end
|
1485
|
+
|
1447
1486
|
# Gets the latest state of a long-running operation. Clients can use this
|
1448
1487
|
# method to poll the operation result at intervals as recommended by the API
|
1449
1488
|
# service.
|
@@ -1523,6 +1562,45 @@ module Google
|
|
1523
1562
|
execute_or_queue_command(command, &block)
|
1524
1563
|
end
|
1525
1564
|
|
1565
|
+
# Starts asynchronous cancellation on a long-running operation. The server
|
1566
|
+
# makes a best effort to cancel the operation, but success is not
|
1567
|
+
# guaranteed. If the server doesn't support this method, it returns
|
1568
|
+
# `google.rpc.Code.UNIMPLEMENTED`. Clients can use
|
1569
|
+
# Operations.GetOperation or
|
1570
|
+
# other methods to check whether the cancellation succeeded or whether the
|
1571
|
+
# operation completed despite cancellation. On successful cancellation,
|
1572
|
+
# the operation is not deleted; instead, it becomes an operation with
|
1573
|
+
# an Operation.error value with a google.rpc.Status.code of 1,
|
1574
|
+
# corresponding to `Code.CANCELLED`.
|
1575
|
+
# @param [String] name
|
1576
|
+
# The name of the operation resource to be cancelled.
|
1577
|
+
# @param [String] fields
|
1578
|
+
# Selector specifying which fields to include in a partial response.
|
1579
|
+
# @param [String] quota_user
|
1580
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1581
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1582
|
+
# @param [Google::Apis::RequestOptions] options
|
1583
|
+
# Request-specific options
|
1584
|
+
#
|
1585
|
+
# @yield [result, err] Result & error if block supplied
|
1586
|
+
# @yieldparam result [Google::Apis::DialogflowV2::GoogleProtobufEmpty] parsed result object
|
1587
|
+
# @yieldparam err [StandardError] error object if request failed
|
1588
|
+
#
|
1589
|
+
# @return [Google::Apis::DialogflowV2::GoogleProtobufEmpty]
|
1590
|
+
#
|
1591
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1592
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1593
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1594
|
+
def cancel_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
|
1595
|
+
command = make_simple_command(:post, 'v2/{+name}:cancel', options)
|
1596
|
+
command.response_representation = Google::Apis::DialogflowV2::GoogleProtobufEmpty::Representation
|
1597
|
+
command.response_class = Google::Apis::DialogflowV2::GoogleProtobufEmpty
|
1598
|
+
command.params['name'] = name unless name.nil?
|
1599
|
+
command.query['fields'] = fields unless fields.nil?
|
1600
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1601
|
+
execute_or_queue_command(command, &block)
|
1602
|
+
end
|
1603
|
+
|
1526
1604
|
# Gets the latest state of a long-running operation. Clients can use this
|
1527
1605
|
# method to poll the operation result at intervals as recommended by the API
|
1528
1606
|
# service.
|