Autogenerated update (2018-09-26)

Update:
- file_v1beta1
- iam_v1
- streetviewpublish_v1
This commit is contained in:
Google APIs 2018-09-26 00:36:09 +00:00
parent def5b71139
commit 4664014ae2
9 changed files with 16 additions and 317 deletions

View File

@ -83786,6 +83786,7 @@
"/streetviewpublish:v1/Place": place
"/streetviewpublish:v1/Place/placeId": place_id
"/streetviewpublish:v1/Pose": pose
"/streetviewpublish:v1/Pose/accuracyMeters": accuracy_meters
"/streetviewpublish:v1/Pose/altitude": altitude
"/streetviewpublish:v1/Pose/heading": heading
"/streetviewpublish:v1/Pose/latLngPair": lat_lng_pair

View File

@ -25,7 +25,7 @@ module Google
# @see https://cloud.google.com/filestore/
module FileV1beta1
VERSION = 'V1beta1'
REVISION = '20180820'
REVISION = '20180925'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -35,33 +35,6 @@ module Google
end
end
# The sets of network addresses and DNS names for hosts to which a given
# export or share should be allowed or denied.
class ClientList
include Google::Apis::Core::Hashable
# DNS names of hosts, with optional wildcards.
# Corresponds to the JSON property `hostNames`
# @return [Array<String>]
attr_accessor :host_names
# IPv4 addresses in the format
# `octet 1`.`octet 2`.`octet 3`.`octet 4`.
# Corresponds to the JSON property `ipAddresses`
# @return [Array<String>]
attr_accessor :ip_addresses
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@host_names = args[:host_names] if args.key?(:host_names)
@ip_addresses = args[:ip_addresses] if args.key?(:ip_addresses)
end
end
# A generic empty message that you can re-use to avoid defining duplicated
# empty messages in your APIs. A typical example is to use it as the request
# or the response type of an API method. For instance:
@ -81,73 +54,6 @@ module Google
end
end
# File share export specification.
class Export
include Google::Apis::Core::Hashable
# The sets of network addresses and DNS names for hosts to which a given
# export or share should be allowed or denied.
# Corresponds to the JSON property `allowedClients`
# @return [Google::Apis::FileV1beta1::ClientList]
attr_accessor :allowed_clients
# Writes may be completed when not yet on stable storage.
# Corresponds to the JSON property `async`
# @return [Boolean]
attr_accessor :async
alias_method :async?, :async
# The sets of network addresses and DNS names for hosts to which a given
# export or share should be allowed or denied.
# Corresponds to the JSON property `deniedClients`
# @return [Google::Apis::FileV1beta1::ClientList]
attr_accessor :denied_clients
# Networks on which the export should appear.
# If none are specified, the default is all networks to which the instance is
# connected to.
# Corresponds to the JSON property `networks`
# @return [Array<Google::Apis::FileV1beta1::NetworkConfig>]
attr_accessor :networks
# NfsExport specifies attributes of a given NFS export rule.
# Corresponds to the JSON property `nfsExport`
# @return [Google::Apis::FileV1beta1::NfsExport]
attr_accessor :nfs_export
# Path to export (either "" or of the form /file_share_name[/subdir]).
# Corresponds to the JSON property `path`
# @return [String]
attr_accessor :path
# Whether the file share should be exported as read-only.
# Corresponds to the JSON property `readOnly`
# @return [Boolean]
attr_accessor :read_only
alias_method :read_only?, :read_only
# SmbExport defines attributes of a given SMB sharing rule.
# Corresponds to the JSON property `smbExport`
# @return [Google::Apis::FileV1beta1::SmbExport]
attr_accessor :smb_export
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@allowed_clients = args[:allowed_clients] if args.key?(:allowed_clients)
@async = args[:async] if args.key?(:async)
@denied_clients = args[:denied_clients] if args.key?(:denied_clients)
@networks = args[:networks] if args.key?(:networks)
@nfs_export = args[:nfs_export] if args.key?(:nfs_export)
@path = args[:path] if args.key?(:path)
@read_only = args[:read_only] if args.key?(:read_only)
@smb_export = args[:smb_export] if args.key?(:smb_export)
end
end
# File share configuration for the instance.
class FileShareConfig
include Google::Apis::Core::Hashable
@ -158,37 +64,11 @@ module Google
# @return [Fixnum]
attr_accessor :capacity_gb
# Delete requested. The file share will be deleted.
# Corresponds to the JSON property `deleted`
# @return [Boolean]
attr_accessor :deleted
alias_method :deleted?, :deleted
# Service enabled.
# When enabled, the instance exposes the exports to the user for mounting.
# Corresponds to the JSON property `enabled`
# @return [Boolean]
attr_accessor :enabled
alias_method :enabled?, :enabled
# Exports.
# If protocols and exports are both zero-length, a default protocol of
# NFSV3 and a default export of "*" are provided, and enabled is set to
# true.
# Corresponds to the JSON property `exports`
# @return [Array<Google::Apis::FileV1beta1::Export>]
attr_accessor :exports
# The name of the file share (must be 16 characters or less).
# Corresponds to the JSON property `name`
# @return [String]
attr_accessor :name
# Protocols supported.
# Corresponds to the JSON property `protocols`
# @return [Array<String>]
attr_accessor :protocols
def initialize(**args)
update!(**args)
end
@ -196,11 +76,7 @@ module Google
# Update properties of this object
def update!(**args)
@capacity_gb = args[:capacity_gb] if args.key?(:capacity_gb)
@deleted = args[:deleted] if args.key?(:deleted)
@enabled = args[:enabled] if args.key?(:enabled)
@exports = args[:exports] if args.key?(:exports)
@name = args[:name] if args.key?(:name)
@protocols = args[:protocols] if args.key?(:protocols)
end
end
@ -236,24 +112,6 @@ module Google
# @return [Hash<String,String>]
attr_accessor :labels
# The logging service the instance should use to write logs.
# Currently available options:
# * `logging.googleapis.com` - the Google Cloud Logging service.
# * `none` - no logs will be exported from the instance.
# * if left as an empty string,`logging.googleapis.com` will be used.
# Corresponds to the JSON property `loggingService`
# @return [String]
attr_accessor :logging_service
# The monitoring service the instance should use to write metrics.
# Currently available options:
# * `monitoring.googleapis.com` - the Google Cloud Monitoring service.
# * `none` - no metrics will be exported from the instance.
# * if left as an empty string, `monitoring.googleapis.com` will be used.
# Corresponds to the JSON property `monitoringService`
# @return [String]
attr_accessor :monitoring_service
# Output only.
# The resource name of the instance, in the format
# projects/`project_id`/locations/`location_id`/instances/`instance_id`.
@ -295,8 +153,6 @@ module Google
@etag = args[:etag] if args.key?(:etag)
@file_shares = args[:file_shares] if args.key?(:file_shares)
@labels = args[:labels] if args.key?(:labels)
@logging_service = args[:logging_service] if args.key?(:logging_service)
@monitoring_service = args[:monitoring_service] if args.key?(:monitoring_service)
@name = args[:name] if args.key?(:name)
@networks = args[:networks] if args.key?(:networks)
@state = args[:state] if args.key?(:state)
@ -475,14 +331,6 @@ module Google
# @return [String]
attr_accessor :reserved_ip_range
# Output only.
# The name of the Google Compute Engine
# [subnetwork](/compute/docs/subnetworks) to which the
# instance is connected.
# Corresponds to the JSON property `subnetwork`
# @return [String]
attr_accessor :subnetwork
def initialize(**args)
update!(**args)
end
@ -493,61 +341,6 @@ module Google
@modes = args[:modes] if args.key?(:modes)
@network = args[:network] if args.key?(:network)
@reserved_ip_range = args[:reserved_ip_range] if args.key?(:reserved_ip_range)
@subnetwork = args[:subnetwork] if args.key?(:subnetwork)
end
end
# NfsExport specifies attributes of a given NFS export rule.
class NfsExport
include Google::Apis::Core::Hashable
# GID for anonymous or squashed GIDs.
# Corresponds to the JSON property `anonymousGid`
# @return [Fixnum]
attr_accessor :anonymous_gid
# UID for anonymous or squashed UIDs.
# Corresponds to the JSON property `anonymousUid`
# @return [Fixnum]
attr_accessor :anonymous_uid
# Network transport protocols to be enabled.
# The default is TCP.
# Corresponds to the JSON property `protocols`
# @return [Array<String>]
attr_accessor :protocols
# The mode of mapping of UIDs and GIDs (if any).
# Corresponds to the JSON property `squash`
# @return [String]
attr_accessor :squash
# If unauthenticated_locks_allowed is true, locking requests do not require
# authentication.
# Corresponds to the JSON property `unauthenticatedLocksAllowed`
# @return [Boolean]
attr_accessor :unauthenticated_locks_allowed
alias_method :unauthenticated_locks_allowed?, :unauthenticated_locks_allowed
# If user_ports_allowed is true, client ports greater than or equal to 1024
# are allowed.
# Corresponds to the JSON property `userPortsAllowed`
# @return [Boolean]
attr_accessor :user_ports_allowed
alias_method :user_ports_allowed?, :user_ports_allowed
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@anonymous_gid = args[:anonymous_gid] if args.key?(:anonymous_gid)
@anonymous_uid = args[:anonymous_uid] if args.key?(:anonymous_uid)
@protocols = args[:protocols] if args.key?(:protocols)
@squash = args[:squash] if args.key?(:squash)
@unauthenticated_locks_allowed = args[:unauthenticated_locks_allowed] if args.key?(:unauthenticated_locks_allowed)
@user_ports_allowed = args[:user_ports_allowed] if args.key?(:user_ports_allowed)
end
end
@ -707,33 +500,6 @@ module Google
end
end
# SmbExport defines attributes of a given SMB sharing rule.
class SmbExport
include Google::Apis::Core::Hashable
# If true, allow clients to see this share when browsing the instance for
# shares.
# Corresponds to the JSON property `browsable`
# @return [Boolean]
attr_accessor :browsable
alias_method :browsable?, :browsable
# The published name of the share (if different from name).
# Corresponds to the JSON property `fileShare`
# @return [String]
attr_accessor :file_share
def initialize(**args)
update!(**args)
end
# Update properties of this object
def update!(**args)
@browsable = args[:browsable] if args.key?(:browsable)
@file_share = args[:file_share] if args.key?(:file_share)
end
end
# The `Status` type defines a logical error model that is suitable for different
# programming environments, including REST APIs and RPC APIs. It is used by
# [gRPC](https://github.com/grpc). The error model is designed to be:

View File

@ -28,24 +28,12 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class ClientList
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Empty
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Export
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class FileShareConfig
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -88,12 +76,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class NfsExport
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Operation
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -106,12 +88,6 @@ module Google
include Google::Apis::Core::JsonObjectSupport
end
class SmbExport
class Representation < Google::Apis::Core::JsonRepresentation; end
include Google::Apis::Core::JsonObjectSupport
end
class Status
class Representation < Google::Apis::Core::JsonRepresentation; end
@ -124,49 +100,17 @@ module Google
end
end
class ClientList
# @private
class Representation < Google::Apis::Core::JsonRepresentation
collection :host_names, as: 'hostNames'
collection :ip_addresses, as: 'ipAddresses'
end
end
class Empty
# @private
class Representation < Google::Apis::Core::JsonRepresentation
end
end
class Export
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :allowed_clients, as: 'allowedClients', class: Google::Apis::FileV1beta1::ClientList, decorator: Google::Apis::FileV1beta1::ClientList::Representation
property :async, as: 'async'
property :denied_clients, as: 'deniedClients', class: Google::Apis::FileV1beta1::ClientList, decorator: Google::Apis::FileV1beta1::ClientList::Representation
collection :networks, as: 'networks', class: Google::Apis::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::NetworkConfig::Representation
property :nfs_export, as: 'nfsExport', class: Google::Apis::FileV1beta1::NfsExport, decorator: Google::Apis::FileV1beta1::NfsExport::Representation
property :path, as: 'path'
property :read_only, as: 'readOnly'
property :smb_export, as: 'smbExport', class: Google::Apis::FileV1beta1::SmbExport, decorator: Google::Apis::FileV1beta1::SmbExport::Representation
end
end
class FileShareConfig
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :capacity_gb, :numeric_string => true, as: 'capacityGb'
property :deleted, as: 'deleted'
property :enabled, as: 'enabled'
collection :exports, as: 'exports', class: Google::Apis::FileV1beta1::Export, decorator: Google::Apis::FileV1beta1::Export::Representation
property :name, as: 'name'
collection :protocols, as: 'protocols'
end
end
@ -179,8 +123,6 @@ module Google
collection :file_shares, as: 'fileShares', class: Google::Apis::FileV1beta1::FileShareConfig, decorator: Google::Apis::FileV1beta1::FileShareConfig::Representation
hash :labels, as: 'labels'
property :logging_service, as: 'loggingService'
property :monitoring_service, as: 'monitoringService'
property :name, as: 'name'
collection :networks, as: 'networks', class: Google::Apis::FileV1beta1::NetworkConfig, decorator: Google::Apis::FileV1beta1::NetworkConfig::Representation
@ -236,19 +178,6 @@ module Google
collection :modes, as: 'modes'
property :network, as: 'network'
property :reserved_ip_range, as: 'reservedIpRange'
property :subnetwork, as: 'subnetwork'
end
end
class NfsExport
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :anonymous_gid, :numeric_string => true, as: 'anonymousGid'
property :anonymous_uid, :numeric_string => true, as: 'anonymousUid'
collection :protocols, as: 'protocols'
property :squash, as: 'squash'
property :unauthenticated_locks_allowed, as: 'unauthenticatedLocksAllowed'
property :user_ports_allowed, as: 'userPortsAllowed'
end
end
@ -277,14 +206,6 @@ module Google
end
end
class SmbExport
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :browsable, as: 'browsable'
property :file_share, as: 'fileShare'
end
end
class Status
# @private
class Representation < Google::Apis::Core::JsonRepresentation

View File

@ -27,7 +27,7 @@ module Google
# @see https://cloud.google.com/iam/
module IamV1
VERSION = 'V1'
REVISION = '20180830'
REVISION = '20180920'
# View and manage your data across Google Cloud Platform services
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'

View File

@ -1061,7 +1061,9 @@ module Google
# @return [String]
attr_accessor :name
# The current launch stage of the role.
# The current launch stage of the role. If the `ALPHA` launch stage has been
# selected for a role, the `stage` field will not be included in the
# returned definition for the role.
# Corresponds to the JSON property `stage`
# @return [String]
attr_accessor :stage

View File

@ -27,7 +27,7 @@ module Google
# @see https://developers.google.com/streetview/publish/
module StreetviewpublishV1
VERSION = 'V1'
REVISION = '20180601'
REVISION = '20180924'
# Publish and manage your 360 photos on Google Street View
AUTH_STREETVIEWPUBLISH = 'https://www.googleapis.com/auth/streetviewpublish'

View File

@ -541,6 +541,13 @@ module Google
class Pose
include Google::Apis::Core::Hashable
# The estimated horizontal accuracy of this pose in meters with 68% (one
# standard deviation) confidence. For more information, see:
# https://developer.android.com/reference/android/location/Location#getAccuracy()
# Corresponds to the JSON property `accuracyMeters`
# @return [Float]
attr_accessor :accuracy_meters
# Altitude of the pose in meters above WGS84 ellipsoid.
# NaN indicates an unmeasured quantity.
# Corresponds to the JSON property `altitude`
@ -589,6 +596,7 @@ module Google
# Update properties of this object
def update!(**args)
@accuracy_meters = args[:accuracy_meters] if args.key?(:accuracy_meters)
@altitude = args[:altitude] if args.key?(:altitude)
@heading = args[:heading] if args.key?(:heading)
@lat_lng_pair = args[:lat_lng_pair] if args.key?(:lat_lng_pair)

View File

@ -274,6 +274,7 @@ module Google
class Pose
# @private
class Representation < Google::Apis::Core::JsonRepresentation
property :accuracy_meters, as: 'accuracyMeters'
property :altitude, as: 'altitude'
property :heading, as: 'heading'
property :lat_lng_pair, as: 'latLngPair', class: Google::Apis::StreetviewpublishV1::LatLng, decorator: Google::Apis::StreetviewpublishV1::LatLng::Representation