diff --git a/generated/google/apis/smartdevicemanagement_v1.rb b/generated/google/apis/smartdevicemanagement_v1.rb index ce0f67428..6263923c5 100644 --- a/generated/google/apis/smartdevicemanagement_v1.rb +++ b/generated/google/apis/smartdevicemanagement_v1.rb @@ -26,7 +26,7 @@ module Google # @see https://developers.google.com/nest/device-access module SmartdevicemanagementV1 VERSION = 'V1' - REVISION = '20201003' + REVISION = '20201022' # See and/or control the devices that you selected AUTH_SDM_SERVICE = 'https://www.googleapis.com/auth/sdm.service' diff --git a/generated/google/apis/smartdevicemanagement_v1/classes.rb b/generated/google/apis/smartdevicemanagement_v1/classes.rb index 56a0d05c8..6387c5975 100644 --- a/generated/google/apis/smartdevicemanagement_v1/classes.rb +++ b/generated/google/apis/smartdevicemanagement_v1/classes.rb @@ -253,11 +253,6 @@ module Google # @return [String] attr_accessor :name - # Assignee details of the structure. - # Corresponds to the JSON property `parentRelations` - # @return [Array] - attr_accessor :parent_relations - # Structure traits. # Corresponds to the JSON property `traits` # @return [Hash] @@ -270,38 +265,9 @@ module Google # Update properties of this object def update!(**args) @name = args[:name] if args.key?(:name) - @parent_relations = args[:parent_relations] if args.key?(:parent_relations) @traits = args[:traits] if args.key?(:traits) end end - - # Represents structure assignee relationships, for instance, group to which the - # structure is assigned to. - class GoogleHomeEnterpriseSdmV1StructureParentRelation - include Google::Apis::Core::Hashable - - # Output only. The custom name of the relation -- e.g., group, to which the - # structure is assigned to. - # Corresponds to the JSON property `displayName` - # @return [String] - attr_accessor :display_name - - # Output only. The name of the relation -- e.g., group to which the structure is - # assigned to. For example: "enterprises/XYZ/groups/ABC" - # Corresponds to the JSON property `parent` - # @return [String] - attr_accessor :parent - - def initialize(**args) - update!(**args) - end - - # Update properties of this object - def update!(**args) - @display_name = args[:display_name] if args.key?(:display_name) - @parent = args[:parent] if args.key?(:parent) - end - end end end end diff --git a/generated/google/apis/smartdevicemanagement_v1/representations.rb b/generated/google/apis/smartdevicemanagement_v1/representations.rb index abc04a692..dcae240a6 100644 --- a/generated/google/apis/smartdevicemanagement_v1/representations.rb +++ b/generated/google/apis/smartdevicemanagement_v1/representations.rb @@ -76,12 +76,6 @@ module Google include Google::Apis::Core::JsonObjectSupport end - class GoogleHomeEnterpriseSdmV1StructureParentRelation - class Representation < Google::Apis::Core::JsonRepresentation; end - - include Google::Apis::Core::JsonObjectSupport - end - class GoogleHomeEnterpriseSdmV1Device # @private class Representation < Google::Apis::Core::JsonRepresentation @@ -155,19 +149,9 @@ module Google # @private class Representation < Google::Apis::Core::JsonRepresentation property :name, as: 'name' - collection :parent_relations, as: 'parentRelations', class: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1StructureParentRelation, decorator: Google::Apis::SmartdevicemanagementV1::GoogleHomeEnterpriseSdmV1StructureParentRelation::Representation - hash :traits, as: 'traits' end end - - class GoogleHomeEnterpriseSdmV1StructureParentRelation - # @private - class Representation < Google::Apis::Core::JsonRepresentation - property :display_name, as: 'displayName' - property :parent, as: 'parent' - end - end end end end diff --git a/generated/google/apis/smartdevicemanagement_v1/service.rb b/generated/google/apis/smartdevicemanagement_v1/service.rb index 669cd125e..7e48b84e5 100644 --- a/generated/google/apis/smartdevicemanagement_v1/service.rb +++ b/generated/google/apis/smartdevicemanagement_v1/service.rb @@ -115,10 +115,8 @@ module Google # @param [String] parent # The parent enterprise to list devices under. E.g. "enterprises/XYZ". # @param [String] filter - # Optional filter to list devices. Filters can match the exact assignee (could - # be a structure or a room). E.g. 'assignee=enterprises/XYZ/structures/abc' Also - # could filter by parent (group): 'parent=enterprises/XYZ/groups/jkl' or filter - # by device custom name (substring match): 'customName=wing' + # Optional filter to list devices. Filters can be done on: Device custom name ( + # substring match): 'customName=wing' # @param [Fixnum] page_size # Optional requested page size. Server may return fewer devices than requested. # If unspecified, server will pick an appropriate default. @@ -189,10 +187,7 @@ module Google # @param [String] parent # The parent enterprise to list structures under. E.g. "enterprises/XYZ". # @param [String] filter - # Optional filter to list structures. Filters can match the exact album assigned - # to the structure. E.g. 'album=enterprises/XYZ/albums/abc' It also support - # filtering by parent (only groups for now): E.g. 'parent=enterprises/XYZ/groups/ - # 124' + # Optional filter to list structures. # @param [Fixnum] page_size # Requested page size. Server may return fewer structures than requested. If # unspecified, server will pick an appropriate default. diff --git a/generated/google/apis/smartdevicemanagement_v1/synth.metadata b/generated/google/apis/smartdevicemanagement_v1/synth.metadata index 429012f74..fb5a74b21 100644 --- a/generated/google/apis/smartdevicemanagement_v1/synth.metadata +++ b/generated/google/apis/smartdevicemanagement_v1/synth.metadata @@ -4,7 +4,7 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/google-api-ruby-client.git", - "sha": "c98c719bbab68d0890524d53f8b629d7858af9c2" + "sha": "9840c481849200572321532ecc3b128bebbc1583" } } ]