lib/google/apis/analyticshub_v1/classes.rb in google-apis-analyticshub_v1-0.2.0 vs lib/google/apis/analyticshub_v1/classes.rb in google-apis-analyticshub_v1-0.3.0

- old
+ new

@@ -633,10 +633,16 @@ # use this reference to request access. Max Length: 1000 bytes. # Corresponds to the JSON property `requestAccess` # @return [String] attr_accessor :request_access + # Restricted export config, used to configure restricted export on linked + # dataset. + # Corresponds to the JSON property `restrictedExportConfig` + # @return [Google::Apis::AnalyticshubV1::RestrictedExportConfig] + attr_accessor :restricted_export_config + # Output only. Current state of the listing. # Corresponds to the JSON property `state` # @return [String] attr_accessor :state @@ -655,10 +661,11 @@ @icon = args[:icon] if args.key?(:icon) @name = args[:name] if args.key?(:name) @primary_contact = args[:primary_contact] if args.key?(:primary_contact) @publisher = args[:publisher] if args.key?(:publisher) @request_access = args[:request_access] if args.key?(:request_access) + @restricted_export_config = args[:restricted_export_config] if args.key?(:restricted_export_config) @state = args[:state] if args.key?(:state) end end # Represents the metadata of the long-running operation. @@ -835,9 +842,38 @@ # Update properties of this object def update!(**args) @name = args[:name] if args.key?(:name) @primary_contact = args[:primary_contact] if args.key?(:primary_contact) + end + end + + # Restricted export config, used to configure restricted export on linked + # dataset. + class RestrictedExportConfig + include Google::Apis::Core::Hashable + + # If true, restrict direct table access(read api/tabledata.list) on linked table. + # Corresponds to the JSON property `restrictDirectTableAccess` + # @return [Boolean] + attr_accessor :restrict_direct_table_access + alias_method :restrict_direct_table_access?, :restrict_direct_table_access + + # If true, restrict export of query result derived from restricted linked + # dataset table. + # Corresponds to the JSON property `restrictQueryResult` + # @return [Boolean] + attr_accessor :restrict_query_result + alias_method :restrict_query_result?, :restrict_query_result + + def initialize(**args) + update!(**args) + end + + # Update properties of this object + def update!(**args) + @restrict_direct_table_access = args[:restrict_direct_table_access] if args.key?(:restrict_direct_table_access) + @restrict_query_result = args[:restrict_query_result] if args.key?(:restrict_query_result) end end # Request message for `SetIamPolicy` method. class SetIamPolicyRequest